summaryrefslogtreecommitdiff
path: root/test/accum3.lm
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2011-09-16 16:15:05 +0000
committerAdrian Thurston <thurston@complang.org>2011-09-16 16:15:05 +0000
commitc62b05cc7a68368826ef56d272ab4c5cf7f90ce2 (patch)
tree0bab28fc5a906a4c5dcec6215d57194b1c2cee66 /test/accum3.lm
parent426aa99b90ba9a523772d329c2fb51af65663ed6 (diff)
downloadcolm-c62b05cc7a68368826ef56d272ab4c5cf7f90ce2.tar.gz
Added a syntax send Parser [Stuff], where send is now a keyword. Function
lookup now try applying a default function to the local objects. refs #322.
Diffstat (limited to 'test/accum3.lm')
-rw-r--r--test/accum3.lm4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/accum3.lm b/test/accum3.lm
index 3c1b194b..84fa1500 100644
--- a/test/accum3.lm
+++ b/test/accum3.lm
@@ -25,9 +25,9 @@ cons ArgParser: parser<args> []
ArgV: list<str> ArgV = argv
for A: str in ArgV
- ArgParser << [A '\0']
+ send ArgParser [A '\0']
-Args: args = ArgParser.finish()
+Args: args = ArgParser()
print_xml( Args )