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/rubyhere.lm | |
parent | a11b02bcaec0e381a18f2e6ec7a1181108ffbc9e (diff) | |
download | colm-81f6a132e3f2da57a2043af8937d1b8021250ed3.tar.gz |
use of the new parse syntax
Diffstat (limited to 'test/rubyhere.lm')
-rw-r--r-- | test/rubyhere.lm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/rubyhere.lm b/test/rubyhere.lm index 0ce0c54e..ea5425cf 100644 --- a/test/rubyhere.lm +++ b/test/rubyhere.lm @@ -88,6 +88,8 @@ def item def start [item*] -S: start = parse start( stdin ) +parse SP: start[ stdin ] +S: start = SP.tree + print_xml(S) print('\n') |