implemented 'R ptr T' syntax
This commit is contained in:
parent
2e9950afe8
commit
d96f25619a
4 changed files with 17 additions and 11 deletions
|
|
@ -220,7 +220,7 @@ proc getPrecedence(tok: TToken, strongSpaces: bool): int =
|
|||
of tkIn, tkNotin, tkIs, tkIsnot, tkNot, tkOf, tkAs: result = 5
|
||||
of tkDotDot: result = considerStrongSpaces(6)
|
||||
of tkAnd: result = 4
|
||||
of tkOr, tkXor: result = 3
|
||||
of tkOr, tkXor, tkPtr, tkRef: result = 3
|
||||
else: result = -10
|
||||
|
||||
proc isOperator(tok: TToken): bool =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue