aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test9.in
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-10-15 12:49:02 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-10-15 12:49:02 -0700
commit9e32b330aaceb11f9237870f51e5c265990f8215 (patch)
tree20f959a4453040569649504efe8a9cfb5063f6c9 /tests/test9.in
parent049bd227edb5fd65a77168de7769424b8ba44ed4 (diff)
Unescape strings in keyword detection.
This allows keywords to be quoted. However, they may not contain variable or process expansions, etc. Fixes #1398
Diffstat (limited to 'tests/test9.in')
-rw-r--r--tests/test9.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test9.in b/tests/test9.in
index 35df1737..e5b69485 100644
--- a/tests/test9.in
+++ b/tests/test9.in
@@ -108,4 +108,9 @@ try_unbalanced_block 'switch abc'
try_unbalanced_block 'function anything'
try_unbalanced_block 'if false'
+# Ensure that quoted keywords work
+'while' false; end
+"while" false; end
+"wh"'ile' false; "e"nd
+
false