summaryrefslogtreecommitdiff
path: root/test/context2.lm
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2012-08-16 22:18:33 -0400
committerAdrian Thurston <thurston@complang.org>2012-08-16 22:18:33 -0400
commit81f6a132e3f2da57a2043af8937d1b8021250ed3 (patch)
tree8af43a730c9d39e25c5e9ed9d97e96389176152b /test/context2.lm
parenta11b02bcaec0e381a18f2e6ec7a1181108ffbc9e (diff)
downloadcolm-81f6a132e3f2da57a2043af8937d1b8021250ed3.tar.gz
use of the new parse syntax
Diffstat (limited to 'test/context2.lm')
-rw-r--r--test/context2.lm3
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')