From 5f1c07e491e34d64063ce96b4b2a099c3f5a87ba Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 8 Dec 2014 00:38:17 +0100 Subject: mds-kbdc: compile-layout: more tested and bug fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- test-files/mds-kbdc/compile-layout/invalid/for_as_function | 3 +++ test-files/mds-kbdc/compile-layout/invalid/for_as_zero | 3 +++ test-files/mds-kbdc/compile-layout/invalid/loopy_error | 4 ++++ test-files/mds-kbdc/compile-layout/invalid/map_null | 6 ++++++ 4 files changed, 16 insertions(+) create mode 100644 test-files/mds-kbdc/compile-layout/invalid/for_as_function create mode 100644 test-files/mds-kbdc/compile-layout/invalid/for_as_zero create mode 100644 test-files/mds-kbdc/compile-layout/invalid/loopy_error create mode 100644 test-files/mds-kbdc/compile-layout/invalid/map_null (limited to 'test-files') 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 + : \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 + -- cgit v1.2.3-70-g09d2