cleaned up some magics to make room for new magics; added '..<' and '..^' templates

This commit is contained in:
Araq 2015-04-21 11:55:55 +02:00
commit aacaa8f171
7 changed files with 23 additions and 21 deletions

View file

@ -34,8 +34,8 @@ const
someMul = {mMulI, mMulI64, mMulF64}
someDiv = {mDivI, mDivI64, mDivF64}
someMod = {mModI, mModI64}
someMax = {mMaxI, mMaxI64, mMaxF64}
someMin = {mMinI, mMinI64, mMinF64}
someMax = {mMaxI, mMaxF64}
someMin = {mMinI, mMinF64}
proc isValue(n: PNode): bool = n.kind in {nkCharLit..nkNilLit}
proc isLocation(n: PNode): bool = not n.isValue