summary refs log tree commit diff stats
path: root/compiler/semfold.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-09-20 12:13:24 -0700
committerAraq <rumpf_a@web.de>2011-09-20 12:13:24 -0700
commit57f184cf48a0b522001ab20e2c742d4d6436e14d (patch)
tree6799fff3c4f1676548b93b537c8d814acec8eded /compiler/semfold.nim
parentbf386374020663452bfdbe3169845970d948cba6 (diff)
parent9acfc43119d42d7265497fd6ae60eda3903d9938 (diff)
downloadNim-57f184cf48a0b522001ab20e2c742d4d6436e14d.tar.gz
Merge pull request #54 from zah/pretty-print-ast
String interpolation implemented in terms of macros
Diffstat (limited to 'compiler/semfold.nim')
-rwxr-xr-xcompiler/semfold.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/semfold.nim b/compiler/semfold.nim
index 61e63a69f..570656a39 100755
--- a/compiler/semfold.nim
+++ b/compiler/semfold.nim
@@ -208,6 +208,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,
      mNLen..mNError, mEqRef: 
     nil
   else: InternalError(a.info, "evalOp(" & $m & ')')