summary refs log tree commit diff stats
path: root/compiler/ast.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2015-06-05 12:53:15 +0200
committerAndreas Rumpf <rumpf_a@web.de>2015-06-05 12:53:15 +0200
commitf8326ad4c047f5d45817d0424dfb0b17aa17b538 (patch)
tree2f2d5d61c5c56f21e99261856560d3bf41fd62c3 /compiler/ast.nim
parentbf70a137f01b6cc885d07e982a372670e53cd123 (diff)
parentb0db8126a52fd48352b0b2ce8c7d99e0c98083ef (diff)
downloadNim-f8326ad4c047f5d45817d0424dfb0b17aa17b538.tar.gz
Merge pull request #2859 from nanoant/patch/norewrite-pragma
{.noRewrite.} pragma for term rewriting
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 044f21341..c349f81ed 100644
--- a/compiler/ast.nim
+++ b/compiler/ast.nim
@@ -423,6 +423,7 @@ type
                 # but unfortunately it has measurable impact for compilation
                 # efficiency
     nfTransf,   # node has been transformed
+    nfNoRewrite # node should not be transformed anymore
     nfSem       # node has been checked for semantics
     nfLL        # node has gone through lambda lifting
     nfDotField  # the call can use a dot operator