summary refs log tree commit diff stats
path: root/tests/accept/compile
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 /tests/accept/compile
parentf31eab8536a5015e1754e10f51cf39ad50777401 (diff)
downloadNim-dbc5048a9a153747675ad6c9e98119b479eb0a30.tar.gz
c2nim compiles again [#9 state:resolved]; better error message for named parameters
Diffstat (limited to 'tests/accept/compile')
-rw-r--r--tests/accept/compile/tnamedparams.nim8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/accept/compile/tnamedparams.nim b/tests/accept/compile/tnamedparams.nim
new file mode 100644
index 000000000..4b0cd5361
--- /dev/null
+++ b/tests/accept/compile/tnamedparams.nim
@@ -0,0 +1,8 @@
+import pegs
+
+discard parsePeg(
+      pattern = "input", 
+      filename = "filename", 
+      line = 1, 
+      col = 23)
+