summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2013-03-21 22:10:56 -0400
committerAdrian Thurston <thurston@complang.org>2013-03-21 22:10:56 -0400
commite8d9cf2d25e1f2570e6edbd017d63ea5159eb99f (patch)
tree4e0981e23cbdd3542b0d5ab3dc1c36f9a6b3f9e3 /test
parenta4962e36dab578f8c9bce690fd6a3cf474b32ea5 (diff)
downloadcolm-e8d9cf2d25e1f2570e6edbd017d63ea5159eb99f.tar.gz
added strings
Diffstat (limited to 'test')
-rw-r--r--test/treecmp1.exp1
-rw-r--r--test/treecmp1.in1
-rw-r--r--test/treecmp1.lm5
3 files changed, 5 insertions, 2 deletions
diff --git a/test/treecmp1.exp b/test/treecmp1.exp
deleted file mode 100644
index 61780798..00000000
--- a/test/treecmp1.exp
+++ /dev/null
@@ -1 +0,0 @@
-b
diff --git a/test/treecmp1.in b/test/treecmp1.in
deleted file mode 100644
index ff852910..00000000
--- a/test/treecmp1.in
+++ /dev/null
@@ -1 +0,0 @@
-a b c d \ No newline at end of file
diff --git a/test/treecmp1.lm b/test/treecmp1.lm
index c8f351e3..178f10d7 100644
--- a/test/treecmp1.lm
+++ b/test/treecmp1.lm
@@ -1,3 +1,4 @@
+##### LM #####
rl ident_pattern /[a-zA-Z_][a-zA-Z_0-9]*/
rl number_pattern /[0-9]+/
@@ -19,3 +20,7 @@ for Id: id in Input {
if ( Id == B )
print( B '\n' )
}
+##### IN #####
+a b c d
+##### EXP #####
+b