summary refs log tree commit diff stats
path: root/compiler/ast.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2019-09-05 08:21:01 +0200
committerGitHub <noreply@github.com>2019-09-05 08:21:01 +0200
commit58bcf6cd46fe9108f2dced59c612153d2951aee2 (patch)
treee485be2b109f7a75295f20faa779676ccf4f188d /compiler/ast.nim
parentc2ba0ee144adfaea6f2e1cc93a20d022149f6ccf (diff)
downloadNim-58bcf6cd46fe9108f2dced59c612153d2951aee2.tar.gz
fixes #12121 (#12126)
Diffstat (limited to 'compiler/ast.nim')
-rw-r--r--compiler/ast.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim
index db0321f6c..f3012cd8a 100644
--- a/compiler/ast.nim
+++ b/compiler/ast.nim
@@ -228,7 +228,7 @@ type
   TNodeKinds* = set[TNodeKind]
 
 type
-  TSymFlag* = enum    # already 36 flags!
+  TSymFlag* = enum    # already 38 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
@@ -282,6 +282,7 @@ type
     sfGeneratedOp     # proc is a generated '='; do not inject destructors in it
                       # variable is generated closure environment; requires early
                       # destruction for --newruntime.
+    sfTemplateParam   # symbol is a template parameter
 
 
   TSymFlags* = set[TSymFlag]