summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-05-06 00:17:41 +0200
committerAraq <rumpf_a@web.de>2014-05-06 00:17:41 +0200
commit77d5ab1708369af8a9bccf47117f2461dc4a290c (patch)
treeddd0f283a4f6a83ef45b97cecaa6d91e3bf9d119 /compiler
parent71de04b4ba1af0ea969538d143ad893443bcb614 (diff)
downloadNim-77d5ab1708369af8a9bccf47117f2461dc4a290c.tar.gz
bootstraps works again; get rid of compile-time 'rand' (too weird)
Diffstat (limited to 'compiler')
-rw-r--r--compiler/ast.nim5
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim
index 172dd1fce..80b9e9bb2 100644
--- a/compiler/ast.nim
+++ b/compiler/ast.nim
@@ -549,7 +549,7 @@ type
     mFields, mFieldPairs, mOmpParFor,
     mAppendStrCh, mAppendStrStr, mAppendSeqElem,
     mInRange, mInSet, mRepr, mExit, mSetLengthStr, mSetLengthSeq,
-    mIsPartOf, mAstToStr, mRand,
+    mIsPartOf, mAstToStr, mParallel,
     mSwap, mIsNil, mArrToSeq, mCopyStr, mCopyStrLast,
     mNewString, mNewStringOfCap,
     mReset,
@@ -600,7 +600,6 @@ const
     mConTArr, mConTT,
     mAppendStrCh, mAppendStrStr, mAppendSeqElem, 
     mInRange, mInSet, mRepr,
-    mRand, 
     mCopyStr, mCopyStrLast}
   # magics that require special semantic checking and
   # thus cannot be overloaded (also documented in the spec!):
@@ -873,7 +872,7 @@ const
     skMacro, skTemplate, skConverter, skEnumField, skLet, skStub}
   PersistentNodeFlags*: TNodeFlags = {nfBase2, nfBase8, nfBase16,
                                       nfDotSetter, nfDotField,
-                                      nfAllConst,nfIsRef}
+                                      nfIsRef}
   namePos* = 0
   patternPos* = 1    # empty except for term rewriting macros
   genericParamsPos* = 2