mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-27 09:43:58 +00:00
@@ -320,9 +320,13 @@ proc rawGetTok(c: var CfgParser, tok: var Token) =
|
||||
tok.literal = "="
|
||||
of '-':
|
||||
inc(c.bufpos)
|
||||
if c.buf[c.bufpos] == '-': inc(c.bufpos)
|
||||
tok.kind = tkDashDash
|
||||
tok.literal = "--"
|
||||
if c.buf[c.bufpos] == '-':
|
||||
inc(c.bufpos)
|
||||
tok.kind = tkDashDash
|
||||
tok.literal = "--"
|
||||
else:
|
||||
dec(c.bufpos)
|
||||
getSymbol(c, tok)
|
||||
of ':':
|
||||
tok.kind = tkColon
|
||||
inc(c.bufpos)
|
||||
|
||||
Reference in New Issue
Block a user