diff options
author | Araq <rumpf_a@web.de> | 2011-01-09 19:02:06 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-01-09 19:02:06 +0100 |
commit | dbc5048a9a153747675ad6c9e98119b479eb0a30 (patch) | |
tree | de1b555a0a2f55aaec3f0dfe9afa5e8e26b1c560 /rod/c2nim | |
parent | f31eab8536a5015e1754e10f51cf39ad50777401 (diff) | |
download | Nim-dbc5048a9a153747675ad6c9e98119b479eb0a30.tar.gz |
c2nim compiles again [#9 state:resolved]; better error message for named parameters
Diffstat (limited to 'rod/c2nim')
-rwxr-xr-x | rod/c2nim/cpp.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rod/c2nim/cpp.nim b/rod/c2nim/cpp.nim index 5f304e1f8..5507c6116 100755 --- a/rod/c2nim/cpp.nim +++ b/rod/c2nim/cpp.nim @@ -279,7 +279,7 @@ proc parsePegLit(p: var TParser): TPeg = if p.tok.xkind != pxStrLit: ExpectIdent(p) try: result = parsePeg( - input = if p.tok.xkind == pxStrLit: p.tok.s else: escapePeg(p.tok.s), + pattern = if p.tok.xkind == pxStrLit: p.tok.s else: escapePeg(p.tok.s), filename = p.lex.filename, line = p.lex.linenumber, col = col) |