diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-10-18 15:13:29 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-10-18 18:31:39 +0300 |
commit | b408d19f614b47670cd0a0def501266f0d7689b5 (patch) | |
tree | bb6bceee609507fb5ef5c2559934622c1737a259 /libbuild2/test/script/parser+for.test.testscript | |
parent | 329aa22d9f8e72596b909d2110e11976949155fa (diff) |
Fix unexpected 'unterminated double-quoted sequence' script error
Diffstat (limited to 'libbuild2/test/script/parser+for.test.testscript')
-rw-r--r-- | libbuild2/test/script/parser+for.test.testscript | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libbuild2/test/script/parser+for.test.testscript b/libbuild2/test/script/parser+for.test.testscript index 9d70886..5350f28 100644 --- a/libbuild2/test/script/parser+for.test.testscript +++ b/libbuild2/test/script/parser+for.test.testscript @@ -801,6 +801,21 @@ testscript:1:1: error: for: missing variable name EOE + : quoted-opt + : + $* <<EOI >>EOO + o = -w + for "$o" x <'a b' + cmd $x + end; + for "($o)" x <'a b' + cmd $x + end + EOI + for -w x <'a b' + for -w x <'a b' + EOO + : untyped : $* <<EOI >>EOO |