From b408d19f614b47670cd0a0def501266f0d7689b5 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 18 Oct 2022 15:13:29 +0300 Subject: Fix unexpected 'unterminated double-quoted sequence' script error --- libbuild2/test/script/parser+for.test.testscript | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'libbuild2/test/script/parser+for.test.testscript') 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 + : + $* <>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 : $* <>EOO -- cgit v1.1