aboutsummaryrefslogtreecommitdiffstats
path: root/test-files
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-12-08 00:38:17 +0100
committerMattias Andrée <maandree@operamail.com>2014-12-08 00:38:17 +0100
commit5f1c07e491e34d64063ce96b4b2a099c3f5a87ba (patch)
treee2301a55f9fdd06b6a4b0eb94ab9d8b80a0ac22b /test-files
parentmds-kbdc: simplify mds_kbdc_tree_dup (diff)
downloadmds-5f1c07e491e34d64063ce96b4b2a099c3f5a87ba.tar.gz
mds-5f1c07e491e34d64063ce96b4b2a099c3f5a87ba.tar.bz2
mds-5f1c07e491e34d64063ce96b4b2a099c3f5a87ba.tar.xz
mds-kbdc: compile-layout: more tested and bug fixes
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--test-files/mds-kbdc/compile-layout/invalid/for_as_function3
-rw-r--r--test-files/mds-kbdc/compile-layout/invalid/for_as_zero3
-rw-r--r--test-files/mds-kbdc/compile-layout/invalid/loopy_error4
-rw-r--r--test-files/mds-kbdc/compile-layout/invalid/map_null6
4 files changed, 16 insertions, 0 deletions
diff --git a/test-files/mds-kbdc/compile-layout/invalid/for_as_function b/test-files/mds-kbdc/compile-layout/invalid/for_as_function
new file mode 100644
index 0000000..343eaf7
--- /dev/null
+++ b/test-files/mds-kbdc/compile-layout/invalid/for_as_function
@@ -0,0 +1,3 @@
+for 1 to 2 as \add(1 1)
+end for
+
diff --git a/test-files/mds-kbdc/compile-layout/invalid/for_as_zero b/test-files/mds-kbdc/compile-layout/invalid/for_as_zero
new file mode 100644
index 0000000..3d300af
--- /dev/null
+++ b/test-files/mds-kbdc/compile-layout/invalid/for_as_zero
@@ -0,0 +1,3 @@
+for 1 to 2 as \0
+end for
+
diff --git a/test-files/mds-kbdc/compile-layout/invalid/loopy_error b/test-files/mds-kbdc/compile-layout/invalid/loopy_error
new file mode 100644
index 0000000..44fe098
--- /dev/null
+++ b/test-files/mds-kbdc/compile-layout/invalid/loopy_error
@@ -0,0 +1,4 @@
+for 1 to 3 as \1
+ <letter \1> : \1
+end for
+
diff --git a/test-files/mds-kbdc/compile-layout/invalid/map_null b/test-files/mds-kbdc/compile-layout/invalid/map_null
new file mode 100644
index 0000000..b9805bc
--- /dev/null
+++ b/test-files/mds-kbdc/compile-layout/invalid/map_null
@@ -0,0 +1,6 @@
+"0" : 0
+0 : ""
+0 : \0
+let \1 : "\0"
+<\1> : \1
+