p[] instead of p^
This commit is contained in:
parent
fc6cc79273
commit
3d696c3da5
12 changed files with 64 additions and 52 deletions
|
|
@ -436,7 +436,7 @@ proc primary(p: var TParser): PNode =
|
|||
parMessage(p, errIdentifierExpected, $p.tok)
|
||||
of pxHat:
|
||||
var a = result
|
||||
result = newNodeP(nkDerefExpr, p)
|
||||
result = newNodeP(nkBracketExpr, p)
|
||||
addSon(result, a)
|
||||
getTok(p)
|
||||
of pxBracketLe:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue