work in progress: new implementation for 'a[^1]'
This commit is contained in:
parent
c0433b0b6c
commit
d52a1061b3
13 changed files with 96 additions and 89 deletions
|
|
@ -1905,7 +1905,7 @@ proc parseVariable(p: var TParser): PNode =
|
|||
#| variable = (varTuple / identColonEquals) colonBody? indAndComment
|
||||
if p.tok.tokType == tkParLe: result = parseVarTuple(p)
|
||||
else: result = parseIdentColonEquals(p, {withPragma, withDot})
|
||||
result{-1} = postExprBlocks(p, result{-1})
|
||||
result[^1] = postExprBlocks(p, result[^1])
|
||||
indAndComment(p, result)
|
||||
|
||||
proc parseBind(p: var TParser, k: TNodeKind): PNode =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue