diff options
author | Araq <rumpf_a@web.de> | 2014-06-09 08:03:54 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-06-09 08:03:54 +0200 |
commit | 947b152163d04b4ac27697646a5200496573be13 (patch) | |
tree | c9050f4e9f46d6d7cb3756a4047dd8cad360f652 /compiler | |
parent | 4220b1c81d433e30e3d41c8ecb05b2a9edaface5 (diff) | |
download | Nim-947b152163d04b4ac27697646a5200496573be13.tar.gz |
some changes
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/ast.nim | 2 | ||||
-rw-r--r-- | compiler/semtypes.nim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim index c3cb63df4..eb4574928 100644 --- a/compiler/ast.nim +++ b/compiler/ast.nim @@ -560,7 +560,7 @@ type mFloat, mFloat32, mFloat64, mFloat128, mBool, mChar, mString, mCstring, mPointer, mEmptySet, mIntSetBaseType, mNil, mExpr, mStmt, mTypeDesc, - mVoidType, mPNimrodNode, mShared, mGuarded, mLock, mSpawn, + mVoidType, mPNimrodNode, mShared, mGuarded, mLock, mSpawn, mDeepCopy, mIsMainModule, mCompileDate, mCompileTime, mNimrodVersion, mNimrodMajor, mNimrodMinor, mNimrodPatch, mCpuEndian, mHostOS, mHostCPU, mAppType, mNaN, mInf, mNegInf, diff --git a/compiler/semtypes.nim b/compiler/semtypes.nim index c328f133b..3b9e82261 100644 --- a/compiler/semtypes.nim +++ b/compiler/semtypes.nim @@ -1087,7 +1087,7 @@ proc semTypeNode(c: PContext, n: PNode, prev: PType): PType = elif n[0].kind notin nkIdentKinds: result = semTypeExpr(c, n) else: - let op = considerAcc(n.sons[0]) + let op = considerQuotedIdent(n.sons[0]) if op.id in {ord(wAnd), ord(wOr)} or op.s == "|": checkSonsLen(n, 3) var |