Fix typo for literal [ (#13243)
The literal value for the `tkBracketLe` token was incorrectly set to `]` rather than `[`. I've had a quick glance at the code and it doesn't look like this change will affect anything at all, but I haven't tested yet - let's see if the CI explodes...
This commit is contained in:
parent
4656580b54
commit
ccb728a7b0
1 changed files with 1 additions and 1 deletions
|
|
@ -354,7 +354,7 @@ proc rawGetTok(c: var CfgParser, tok: var Token) =
|
|||
of '[':
|
||||
tok.kind = tkBracketLe
|
||||
inc(c.bufpos)
|
||||
tok.literal = "]"
|
||||
tok.literal = "["
|
||||
of ']':
|
||||
tok.kind = tkBracketRi
|
||||
inc(c.bufpos)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue