summaryrefslogtreecommitdiff
path: root/test/matchex.lm
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2013-04-13 10:44:45 -0400
committerAdrian Thurston <thurston@complang.org>2013-04-13 10:44:45 -0400
commitf34149a3990b06f647fcba9664471dfa6957a844 (patch)
tree8c72994004ffd3e79eeb42e51586aaa386c0f590 /test/matchex.lm
parente0cc080f94de6764b2eae8ef3815882316ebb922 (diff)
downloadcolm-f34149a3990b06f647fcba9664471dfa6957a844.tar.gz
updated tests for parent commit (parse returns tree)
Diffstat (limited to 'test/matchex.lm')
-rw-r--r--test/matchex.lm4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/matchex.lm b/test/matchex.lm
index 9542f809..7bdacd30 100644
--- a/test/matchex.lm
+++ b/test/matchex.lm
@@ -24,10 +24,10 @@ def item
parse Tag: tag[ stdin ]
# Style: List of literal text and types.
-match Tag.tree ["<person name=" Val1:id attr*">" item* "</person>"]
+match Tag ["<person name=" Val1:id attr*">" item* "</person>"]
# Style: Literal text with embedded lists of types.
-match Tag.tree "<person name=[Val2:id attr*]>[item*]</person>"
+match Tag "<person name=[Val2:id attr*]>[item*]</person>"
print( ^Val1 '\n' )
print( ^Val2 '\n' )