summaryrefslogtreecommitdiff
path: root/test/export1.lm
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2014-02-01 19:49:33 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2014-02-01 19:49:33 +0000
commit404ae0f284a3b2d41fcdb53826550e4dfec5c65c (patch)
treecc446af26234e4465b8cc168b720ec44816ff5ab /test/export1.lm
downloadcolm-tarball-master.tar.gz
Diffstat (limited to 'test/export1.lm')
-rw-r--r--test/export1.lm16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/export1.lm b/test/export1.lm
new file mode 100644
index 0000000..253b688
--- /dev/null
+++ b/test/export1.lm
@@ -0,0 +1,16 @@
+##### LM #####
+lex
+ token id /[a-z]+/
+ ignore /[ \t]+/
+end
+
+def start
+ [id*]
+
+export Start: start
+export Error: str
+
+parse P: start[ stdin ]
+Error = error
+##### IN #####
+##### EXP #####