c2nim tool added
This commit is contained in:
parent
c441cdb64c
commit
d10973adb0
28 changed files with 3498 additions and 66 deletions
|
|
@ -427,7 +427,7 @@ proc getEscapedChar(L: var TLexer, tok: var TToken) =
|
|||
case L.buf[L.bufpos]
|
||||
of 'n', 'N':
|
||||
if tok.toktype == tkCharLit: lexMessage(L, errNnotAllowedInCharacter)
|
||||
tok.literal = tok.literal & tnl
|
||||
add(tok.literal, tnl)
|
||||
Inc(L.bufpos)
|
||||
of 'r', 'R', 'c', 'C':
|
||||
add(tok.literal, CR)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue