diff options
Diffstat (limited to 'nim/ast.pas')
-rw-r--r-- | nim/ast.pas | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/nim/ast.pas b/nim/ast.pas index c22385805..a57632468 100644 --- a/nim/ast.pas +++ b/nim/ast.pas @@ -93,12 +93,12 @@ type nkTypeDef, nkYieldStmt, nkTryStmt, nkFinally, nkRaiseStmt, nkReturnStmt, nkBreakStmt, nkContinueStmt, nkBlockStmt, nkDiscardStmt, nkStmtList, nkImportStmt, - nkFromStmt, nkImportAs, nkIncludeStmt, nkAccessStmt, - nkCommentStmt, nkStmtListExpr, nkBlockExpr, nkStmtListType, - nkBlockType, nkVm, nkTypeOfExpr, nkObjectTy, - nkTupleTy, nkRecList, nkRecCase, nkRecWhen, - nkRefTy, nkPtrTy, nkVarTy, nkProcTy, - nkEnumTy, nkEnumFieldDef, nkReturnToken); + nkFromStmt, nkImportAs, nkIncludeStmt, nkCommentStmt, + nkStmtListExpr, nkBlockExpr, nkStmtListType, nkBlockType, + nkVm, nkTypeOfExpr, nkObjectTy, nkTupleTy, + nkRecList, nkRecCase, nkRecWhen, nkRefTy, + nkPtrTy, nkVarTy, nkProcTy, nkEnumTy, + nkEnumFieldDef, nkReturnToken); TNodeKinds = set of TNodeKind; const NodeKindToStr: array [TNodeKind] of string = ( @@ -128,12 +128,12 @@ const 'nkTypeDef', 'nkYieldStmt', 'nkTryStmt', 'nkFinally', 'nkRaiseStmt', 'nkReturnStmt', 'nkBreakStmt', 'nkContinueStmt', 'nkBlockStmt', 'nkDiscardStmt', 'nkStmtList', 'nkImportStmt', - 'nkFromStmt', 'nkImportAs', 'nkIncludeStmt', 'nkAccessStmt', - 'nkCommentStmt', 'nkStmtListExpr', 'nkBlockExpr', 'nkStmtListType', - 'nkBlockType', 'nkVm', 'nkTypeOfExpr', 'nkObjectTy', - 'nkTupleTy', 'nkRecList', 'nkRecCase', 'nkRecWhen', - 'nkRefTy', 'nkPtrTy', 'nkVarTy', 'nkProcTy', - 'nkEnumTy', 'nkEnumFieldDef', 'nkReturnToken'); + 'nkFromStmt', 'nkImportAs', 'nkIncludeStmt', 'nkCommentStmt', + 'nkStmtListExpr', 'nkBlockExpr', 'nkStmtListType', 'nkBlockType', + 'nkVm', 'nkTypeOfExpr', 'nkObjectTy', 'nkTupleTy', + 'nkRecList', 'nkRecCase', 'nkRecWhen', 'nkRefTy', + 'nkPtrTy', 'nkVarTy', 'nkProcTy', 'nkEnumTy', + 'nkEnumFieldDef', 'nkReturnToken'); type TSymFlag = ( sfUsed, sfStar, sfMinus, sfInInterface, @@ -327,7 +327,8 @@ type ); TLocFlag = ( - lfIndirect, // backend introduced a pointer + lfIndirect, // backend introduced a pointer + lfParamCopy, // backend introduced a parameter copy (LLVM) lfNoDeepCopy, // no need for a deep copy lfNoDecl, // do not declare it in C lfDynamicLib, // link symbol to dynamic library |