summary refs log tree commit diff stats
path: root/compiler/ast.nim
diff options
context:
space:
mode:
authorcooldome <cdome@bk.ru>2018-01-09 14:25:22 +0000
committerAndreas Rumpf <rumpf_a@web.de>2018-01-09 15:25:22 +0100
commit2c9e56a783e36b0f9db3f2f73d76c910f36a9ffd (patch)
tree3c0ed82169d0cb36a1f0e6c63bc4ce43718471bf /compiler/ast.nim
parentaff787db69ed67f54d72e9caa43e556a9d0e2674 (diff)
downloadNim-2c9e56a783e36b0f9db3f2f73d76c910f36a9ffd.tar.gz
Implement custom annotations (#6987)
Diffstat (limited to 'compiler/ast.nim')
-rw-r--r--compiler/ast.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim
index 54c33a038..69f2eb1c7 100644
--- a/compiler/ast.nim
+++ b/compiler/ast.nim
@@ -305,6 +305,7 @@ const
   sfEscapes* = sfProcvar              # param escapes
   sfBase* = sfDiscriminant
   sfIsSelf* = sfOverriden             # param is 'self'
+  sfCustomPragma* = sfRegister        # symbol is custom pragma template
 
 const
   # getting ready for the future expr/stmt merge