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
parent 4656580b54
commit ccb728a7b0

View File

@@ -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)