summary refs log tree commit diff stats
path: root/compiler/ast.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-08-28 22:15:29 +0200
committerAraq <rumpf_a@web.de>2012-08-28 22:15:29 +0200
commitb4844a189d88655394080f765076a7d85fe6185d (patch)
tree466be4d35d50e7928cbef25a416e2c97f50c2490 /compiler/ast.nim
parent6bcdb9c8f429b48e534c50d3dadf7b31783aa0bf (diff)
downloadNim-b4844a189d88655394080f765076a7d85fe6185d.tar.gz
parameter passing works the same for macros and templates; use callsite magic to access the invokation AST
Diffstat (limited to 'compiler/ast.nim')
-rwxr-xr-xcompiler/ast.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim
index 79adafcf8..a8176501f 100755
--- a/compiler/ast.nim
+++ b/compiler/ast.nim
@@ -441,7 +441,7 @@ type
     mNIntVal, mNFloatVal, mNSymbol, mNIdent, mNGetType, mNStrVal, mNSetIntVal, 
     mNSetFloatVal, mNSetSymbol, mNSetIdent, mNSetType, mNSetStrVal, mNLineInfo,
     mNNewNimNode, mNCopyNimNode, mNCopyNimTree, mStrToIdent, mIdentToStr, 
-    mNBindSym,
+    mNBindSym, mNCallSite,
     mEqIdent, mEqNimrodNode, mNHint, mNWarning, mNError, 
     mInstantiationInfo, mGetTypeInfo