diff options
author | Araq <rumpf_a@web.de> | 2014-05-06 07:01:15 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-05-06 07:01:15 +0200 |
commit | 1df344dee34c890cd89bbdaf4c714375e0426fb1 (patch) | |
tree | 815dcecef7c07b03c3c54a871602cd84b1ea610a /compiler | |
parent | 77d5ab1708369af8a9bccf47117f2461dc4a290c (diff) | |
download | Nim-1df344dee34c890cd89bbdaf4c714375e0426fb1.tar.gz |
attempt to fix the bootstrapping
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/semfold.nim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/semfold.nim b/compiler/semfold.nim index c0c8a28c8..712d2efd2 100644 --- a/compiler/semfold.nim +++ b/compiler/semfold.nim @@ -405,10 +405,8 @@ 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, mSlurp, mStaticExec, mNGenSym, mSpawn: + mNLen..mNError, mEqRef, mSlurp, mStaticExec, mNGenSym, mSpawn, mParallel: discard - of mRand: - result = newIntNodeT(math.random(a.getInt.int), n) else: internalError(a.info, "evalOp(" & $m & ')') proc getConstIfExpr(c: PSym, n: PNode): PNode = |