diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-10-17 18:33:43 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-10-18 11:15:43 +0300 |
commit | 329aa22d9f8e72596b909d2110e11976949155fa (patch) | |
tree | a80658eb46c5e734a3d779b5a45059bdb2d9908b /libbuild2/build/script/parser+for.test.testscript | |
parent | 4ca0dee17566ab429a3cdf871e9992c51f5bf71a (diff) |
Add unexpected 'unterminated double-quoted sequence' error testscript reproducers
Diffstat (limited to 'libbuild2/build/script/parser+for.test.testscript')
-rw-r--r-- | libbuild2/build/script/parser+for.test.testscript | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libbuild2/build/script/parser+for.test.testscript b/libbuild2/build/script/parser+for.test.testscript index cbcaf14..880b03c 100644 --- a/libbuild2/build/script/parser+for.test.testscript +++ b/libbuild2/build/script/parser+for.test.testscript @@ -543,6 +543,21 @@ buildfile:11:1: error: for: missing variable name EOE + # @@ TMP Enable when the unexpected 'unterminated double-quoted sequence' + # error is fixed. + #\ + : quoted-ops + : + $* <<EOI >>EOO + o=-w + for "$o" x <'a b' + cmd $x + end + EOI + for -w x <'a b' + EOO + #\ + : untyped : $* <<EOI >>EOO |