diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-12-07 15:41:52 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-12-07 15:41:52 +0100 |
commit | ec4f9ba579f6562b963aafb12d385a54185e5b5c (patch) | |
tree | 741561407d07d054413e0ba8e4003cea957d6a02 /test-files/mds-kbdc/compile-layout/valid/let-if-map-end-let-else-map | |
parent | mds-kbdc: compile-layout: add some test cases + file parsing bug (diff) | |
download | mds-ec4f9ba579f6562b963aafb12d385a54185e5b5c.tar.gz mds-ec4f9ba579f6562b963aafb12d385a54185e5b5c.tar.bz2 mds-ec4f9ba579f6562b963aafb12d385a54185e5b5c.tar.xz |
mds-kbdc: compile-layout: some bug fixes and test cases
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | test-files/mds-kbdc/compile-layout/valid/let-if-map-end-let-else-map | 13 |
1 files changed, 13 insertions, 0 deletions
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") + <letter \1> : \1 +else + "\1" : "x" +end if +let \1 : "b" +if \not(\equals(\1 "b")) + "\1" : "x" +else + <letter \1> : \1 +end if + |