From 947b152163d04b4ac27697646a5200496573be13 Mon Sep 17 00:00:00 2001 From: Araq Date: Mon, 9 Jun 2014 08:03:54 +0200 Subject: some changes --- compiler/ast.nim | 2 +- compiler/semtypes.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler') 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 -- cgit 1.4.1-2-gfad0