aboutsummaryrefslogtreecommitdiffstats
path: root/test-files/mds-kbdc/make-tree/valid/if-else
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-17 04:31:48 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-17 04:31:48 +0100
commitb43f83b8cd06dfbe0866685b31b6c4db41138776 (patch)
treed870279f8a0d19ba09b398bab5cf29bf4043f204 /test-files/mds-kbdc/make-tree/valid/if-else
parentsmall fixes and a bunch of tests (diff)
downloadmds-b43f83b8cd06dfbe0866685b31b6c4db41138776.tar.gz
mds-b43f83b8cd06dfbe0866685b31b6c4db41138776.tar.bz2
mds-b43f83b8cd06dfbe0866685b31b6c4db41138776.tar.xz
mds-kbdc: fix treeisation of if-statements
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'test-files/mds-kbdc/make-tree/valid/if-else')
-rw-r--r--test-files/mds-kbdc/make-tree/valid/if-else9
1 files changed, 9 insertions, 0 deletions
diff --git a/test-files/mds-kbdc/make-tree/valid/if-else b/test-files/mds-kbdc/make-tree/valid/if-else
index 217f478..796f2bf 100644
--- a/test-files/mds-kbdc/make-tree/valid/if-else
+++ b/test-files/mds-kbdc/make-tree/valid/if-else
@@ -3,6 +3,7 @@ if \1
else
<letter \2> : "\2"
end if
+<letter a> : "a"
# (if (@ 1 0-2) ‘\1’
# (.inner
@@ -26,4 +27,12 @@ end if
# )
# )
# )
+# (map (@ 6 0-0)
+# (.sequence
+# (keys (@ 6 0-10) ‘<letter a>’)
+# )
+# (.result
+# (string (@ 6 13-16) ‘"a"’)
+# )
+# )