diff options
author | Adrian Thurston <thurston@complang.org> | 2011-09-16 16:15:05 +0000 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2011-09-16 16:15:05 +0000 |
commit | c62b05cc7a68368826ef56d272ab4c5cf7f90ce2 (patch) | |
tree | 0bab28fc5a906a4c5dcec6215d57194b1c2cee66 /test/accum2.lm | |
parent | 426aa99b90ba9a523772d329c2fb51af65663ed6 (diff) | |
download | colm-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/accum2.lm')
-rw-r--r-- | test/accum2.lm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/accum2.lm b/test/accum2.lm index 30dca44f..e1eac4d3 100644 --- a/test/accum2.lm +++ b/test/accum2.lm @@ -28,8 +28,6 @@ context ctx cons SP: parser<ctx::start> [] SP.ctx = cons ctx [] -SP << stdin -Input: ctx::start = SP.finish() +send SP stdin +Input: ctx::start = SP() print( Input '\n' ) - - |