From ec4f9ba579f6562b963aafb12d385a54185e5b5c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 7 Dec 2014 15:41:52 +0100 Subject: mds-kbdc: compile-layout: some bug fixes and test cases MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- .../compile-layout/valid/let-if-map-end-let-else-map | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test-files/mds-kbdc/compile-layout/valid/let-if-map-end-let-else-map (limited to 'test-files/mds-kbdc/compile-layout/valid/let-if-map-end-let-else-map') diff --git a/test-files/mds-kbdc/compile-layout/valid/let-if-map-end-let-else-map b/test-files/mds-kbdc/compile-layout/valid/let-if-map-end-let-else-map new file mode 100644 index 0000000..9d66433 --- /dev/null +++ b/test-files/mds-kbdc/compile-layout/valid/let-if-map-end-let-else-map @@ -0,0 +1,13 @@ +let \1 : "a" +if \equals(\1 "a") + : \1 +else + "\1" : "x" +end if +let \1 : "b" +if \not(\equals(\1 "b")) + "\1" : "x" +else + : \1 +end if + -- cgit v1.2.3-70-g09d2