mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 01:44:37 +00:00
fix
This commit is contained in:
@@ -306,6 +306,7 @@ proc getSymbol(c: var CfgParser, tok: var Token) =
|
||||
add(tok.literal, c.buf[pos])
|
||||
inc(pos)
|
||||
if not (c.buf[pos] in SymChars): break
|
||||
tok.literal = tok.literal.strip
|
||||
c.bufpos = pos
|
||||
tok.kind = tkSymbol
|
||||
|
||||
|
||||
Reference in New Issue
Block a user