diff options
author | Adrian Thurston <thurston@complang.org> | 2013-03-24 12:14:58 -0400 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2013-03-24 12:14:58 -0400 |
commit | 154fb40e261e80d39fa8711208bab9886953f923 (patch) | |
tree | 0cb766f8c4cff09c1bb739569858a98655deef60 /test | |
parent | 859b327a5c810b382d5d1c2c849b16f50469d5c6 (diff) | |
download | colm-154fb40e261e80d39fa8711208bab9886953f923.tar.gz |
include1.lm test now working
Diffstat (limited to 'test')
-rw-r--r-- | test/include1.exp | 19 | ||||
-rw-r--r-- | test/include1.in | 14 | ||||
-rw-r--r-- | test/include1.lm | 36 |
3 files changed, 36 insertions, 33 deletions
diff --git a/test/include1.exp b/test/include1.exp deleted file mode 100644 index 502194e3..00000000 --- a/test/include1.exp +++ /dev/null @@ -1,19 +0,0 @@ -opening include1a.in -opening include1b.in -opening include1c.in -hello; - -a; -b; - -there; - -c; -d; - -dude; - -e; -f; - -and dudettes; diff --git a/test/include1.in b/test/include1.in deleted file mode 100644 index 9c7aa806..00000000 --- a/test/include1.in +++ /dev/null @@ -1,14 +0,0 @@ - -hello; - -#include "include1a.in" - -there; - -#include "include1b.in" - -dude; - -#include "include1c.in" - -and dudettes; diff --git a/test/include1.lm b/test/include1.lm index bca9dbfe..46653ef7 100644 --- a/test/include1.lm +++ b/test/include1.lm @@ -1,3 +1,4 @@ +##### LM ##### namespace string lex literal '"' @@ -96,3 +97,38 @@ else { S: lang::start = Input.tree print( Input.tree '\n' ) } +##### IN ##### + +hello; + +#include "include1a.in" + +there; + +#include "include1b.in" + +dude; + +#include "include1c.in" + +and dudettes; +##### EXP ##### +opening include1a.in +opening include1b.in +opening include1c.in +hello; + +a; +b; + +there; + +c; +d; + +dude; + +e; +f; + +and dudettes; |