mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-12 06:38:11 +00:00
redo fix for #4035
This commit is contained in:
@@ -807,7 +807,8 @@ proc parseOperators(p: var TParser, headNode: PNode,
|
||||
var a = newNodeP(nkInfix, p)
|
||||
var opNode = newIdentNodeP(p.tok.ident, p) # skip operator:
|
||||
getTok(p)
|
||||
optInd(p, a)
|
||||
flexComment(p, a)
|
||||
optPar(p)
|
||||
# read sub-expression with higher priority:
|
||||
var b = simpleExprAux(p, opPrec + leftAssoc, modeB)
|
||||
addSon(a, opNode)
|
||||
|
||||
Reference in New Issue
Block a user