er... 'a not b' is an infix call
This commit is contained in:
parent
5845716df8
commit
3cf3c2d722
1 changed files with 1 additions and 1 deletions
|
|
@ -1260,7 +1260,7 @@ proc binaryNot(p: var TParser; a: PNode): PNode =
|
||||||
getTok(p)
|
getTok(p)
|
||||||
optInd(p, notOpr)
|
optInd(p, notOpr)
|
||||||
let b = parseExpr(p)
|
let b = parseExpr(p)
|
||||||
result = newNodeP(nkCommand, p)
|
result = newNodeP(nkInfix, p)
|
||||||
result.add notOpr
|
result.add notOpr
|
||||||
result.add a
|
result.add a
|
||||||
result.add b
|
result.add b
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue