diff options
author | Adrian Thurston <thurston@complang.org> | 2012-08-16 22:18:33 -0400 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2012-08-16 22:18:33 -0400 |
commit | 81f6a132e3f2da57a2043af8937d1b8021250ed3 (patch) | |
tree | 8af43a730c9d39e25c5e9ed9d97e96389176152b /test/context2.lm | |
parent | a11b02bcaec0e381a18f2e6ec7a1181108ffbc9e (diff) | |
download | colm-81f6a132e3f2da57a2043af8937d1b8021250ed3.tar.gz |
use of the new parse syntax
Diffstat (limited to 'test/context2.lm')
-rw-r--r-- | test/context2.lm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/context2.lm b/test/context2.lm index 8dd8bb25..09a150eb 100644 --- a/test/context2.lm +++ b/test/context2.lm @@ -93,6 +93,7 @@ context ruby_here CTX: ruby_here = cons ruby_here [] -S: ruby_here::start = parse ruby_here::start( CTX stdin ) +parse SP: ruby_here::start( CTX ) [ stdin ] +S: ruby_here::start = SP.tree print_xml(S) print('\n') |