mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-07 13:33:22 +00:00
er... 'a not b' is an infix call
This commit is contained in:
@@ -1260,7 +1260,7 @@ proc binaryNot(p: var TParser; a: PNode): PNode =
|
||||
getTok(p)
|
||||
optInd(p, notOpr)
|
||||
let b = parseExpr(p)
|
||||
result = newNodeP(nkCommand, p)
|
||||
result = newNodeP(nkInfix, p)
|
||||
result.add notOpr
|
||||
result.add a
|
||||
result.add b
|
||||
|
||||
Reference in New Issue
Block a user