parent
738c957e94
commit
5544a13236
1 changed files with 6 additions and 0 deletions
|
|
@ -190,6 +190,12 @@ proc parseAssignment(L: var TLexer, tok: var TToken;
|
|||
checkSymbol(L, tok)
|
||||
add(val, $tok)
|
||||
confTok(L, tok, config, condStack) # skip symbol
|
||||
if tok.tokType in {tkColon, tkEquals}:
|
||||
add(val, $tok) # add the :
|
||||
confTok(L, tok, config, condStack) # skip symbol
|
||||
checkSymbol(L, tok)
|
||||
add(val, $tok) # add the token after it
|
||||
confTok(L, tok, config, condStack) # skip symbol
|
||||
while tok.ident != nil and tok.ident.s == "&":
|
||||
confTok(L, tok, config, condStack)
|
||||
checkSymbol(L, tok)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue