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:
Euan 2020-01-24 08:42:03 +00:00 • committed by cooldome
commit ccb728a7b0

View file

@ -354,7 +354,7 @@ proc rawGetTok(c: var CfgParser, tok: var Token) =
of '[': of '[':
tok.kind = tkBracketLe tok.kind = tkBracketLe
inc(c.bufpos) inc(c.bufpos)
tok.literal = "]" tok.literal = "["
of ']': of ']':
tok.kind = tkBracketRi tok.kind = tkBracketRi
inc(c.bufpos) inc(c.bufpos)