summary refs log tree commit diff stats
path: root/rod/c2nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-01-09 19:02:06 +0100
committerAraq <rumpf_a@web.de>2011-01-09 19:02:06 +0100
commitdbc5048a9a153747675ad6c9e98119b479eb0a30 (patch)
treede1b555a0a2f55aaec3f0dfe9afa5e8e26b1c560 /rod/c2nim
parentf31eab8536a5015e1754e10f51cf39ad50777401 (diff)
downloadNim-dbc5048a9a153747675ad6c9e98119b479eb0a30.tar.gz
c2nim compiles again [#9 state:resolved]; better error message for named parameters
Diffstat (limited to 'rod/c2nim')
-rwxr-xr-xrod/c2nim/cpp.nim2
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)