c2nim compiles again
This commit is contained in:
parent
3c53c4c2b0
commit
4487b614e1
5 changed files with 15 additions and 10 deletions
|
|
@ -283,7 +283,7 @@ proc parsePegLit(p: var TParser): TPeg =
|
|||
try:
|
||||
result = parsePeg(
|
||||
pattern = if p.tok.xkind == pxStrLit: p.tok.s else: escapePeg(p.tok.s),
|
||||
filename = p.lex.filename,
|
||||
filename = p.lex.fileIdx.ToFilename,
|
||||
line = p.lex.linenumber,
|
||||
col = col)
|
||||
getTok(p)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue