diff options
Diffstat (limited to 'compiler/ast.nim')
-rw-r--r-- | compiler/ast.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim index d8fe6b1c0..6ca79aeee 100644 --- a/compiler/ast.nim +++ b/compiler/ast.nim @@ -230,7 +230,7 @@ type TNodeKinds* = set[TNodeKind] type - TSymFlag* = enum # 42 flags! + TSymFlag* = enum # 43 flags! sfUsed, # read access of sym (for warnings) or simply used sfExported, # symbol is exported from module sfFromGeneric, # symbol is instantiation of a generic; this is needed @@ -294,6 +294,7 @@ type sfNeverRaises # proc can never raise an exception, not even OverflowDefect # or out-of-memory sfUsedInFinallyOrExcept # symbol is used inside an 'except' or 'finally' + sfSingleUsedTemp # For temporaries that we know will only be used once TSymFlags* = set[TSymFlag] |