summaryrefslogtreecommitdiff
path: root/tests/Kexpr_items
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-06-11 17:49:49 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-06-11 18:30:51 +0200
commit506e3fb211d22f62115ce83e9247266c5d87ea24 (patch)
tree86b41a341b3da5d527c5a85583cc9d46daebe294 /tests/Kexpr_items
parent330017a99cd7619c9eb1fe5fccbb02f5d9e7f6c5 (diff)
Add a function for getting all items in an expression
Handy e.g. when searching.
Diffstat (limited to 'tests/Kexpr_items')
-rw-r--r--tests/Kexpr_items11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/Kexpr_items b/tests/Kexpr_items
new file mode 100644
index 0000000..fb97ace
--- /dev/null
+++ b/tests/Kexpr_items
@@ -0,0 +1,11 @@
+config TEST
+ bool
+ default A && (B || !C && D = "E") || F > G || !!!H
+
+choice CHOICE
+ bool "choice"
+
+config TEST_CHOICE
+ bool "test choice" if A
+
+endchoice