cleaned up some magics to make room for new magics; added '..<' and '..^' templates
This commit is contained in:
parent
c69d74818e
commit
aacaa8f171
7 changed files with 23 additions and 21 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue