summary refs log tree commit diff stats
path: root/compiler/semfold.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-10-07 10:07:18 -0700
committerAraq <rumpf_a@web.de>2011-10-07 10:07:18 -0700
commitfae8ea0cee55cf85a7d30d63d06c73ed3874fa89 (patch)
tree660df418fce1076c16cd7ab97574d0c6c12c6605 /compiler/semfold.nim
parent130316751d88a93169304a19caf92308f115808c (diff)
parent4a444bf6dbf973faea020b1e82650e50eccf7d54 (diff)
downloadNim-fae8ea0cee55cf85a7d30d63d06c73ed3874fa89.tar.gz
Merge pull request #58 from zah/getast-unittests
getAst operational. Unit testing library based on it.
Diffstat (limited to 'compiler/semfold.nim')
-rwxr-xr-xcompiler/semfold.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semfold.nim b/compiler/semfold.nim
index 77d84b6f8..d51f69bc1 100755
--- a/compiler/semfold.nim
+++ b/compiler/semfold.nim
@@ -206,7 +206,7 @@ proc evalOp(m: TMagic, n, a, b, c: PNode): PNode =
   of mNewString, mNewStringOfCap, 
      mExit, mInc, ast.mDec, mEcho, mAssert, mSwap, mAppendStrCh, 
      mAppendStrStr, mAppendSeqElem, mSetLengthStr, mSetLengthSeq, 
-     mParseExprToAst, mParseStmtToAst,
+     mParseExprToAst, mParseStmtToAst, mExpandToAst,
      mNLen..mNError, mEqRef: 
     nil
   else: InternalError(a.info, "evalOp(" & $m & ')')