From a1da1f987b28ed041c3f3ad2317e756e2125aa30 Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Sat, 2 Jun 2012 19:51:49 +0300 Subject: Added system.staticExec proc for executing external command at compile-time --- compiler/semfold.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/semfold.nim') diff --git a/compiler/semfold.nim b/compiler/semfold.nim index 82ee7de13..565155791 100755 --- a/compiler/semfold.nim +++ b/compiler/semfold.nim @@ -207,7 +207,7 @@ proc evalOp(m: TMagic, n, a, b, c: PNode): PNode = mExit, mInc, ast.mDec, mEcho, mSwap, mAppendStrCh, mAppendStrStr, mAppendSeqElem, mSetLengthStr, mSetLengthSeq, mParseExprToAst, mParseStmtToAst, mExpandToAst, mTypeTrait, - mNLen..mNError, mEqRef: + mNLen..mNError, mEqRef, mSlurp, mStaticExec: nil of mRand: result = newIntNodeT(math.random(a.getInt.int), n) -- cgit 1.4.1-2-gfad0