diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2021-04-03 02:49:54 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2021-04-08 02:19:39 +0000 |
commit | 4ba9008ec7842770289645dc6a8829555915086b (patch) | |
tree | 4ffe5d56aa7cb1d598edeb1ca94237d1cfee5091 /Test/D04parameter.ztst | |
parent | 295fbc0998db7204a9eb68f46c8bedab171ff387 (diff) | |
download | zsh-4ba9008ec7842770289645dc6a8829555915086b.tar.gz zsh-4ba9008ec7842770289645dc6a8829555915086b.tar.xz zsh-4ba9008ec7842770289645dc6a8829555915086b.zip |
48379: Make the parameter expansion subscript flags parse error message, "error in flags", identify the location of the parse error.
Diffstat (limited to 'Test/D04parameter.ztst')
-rw-r--r-- | Test/D04parameter.ztst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst index ac99ff0e3..05bb61bdc 100644 --- a/Test/D04parameter.ztst +++ b/Test/D04parameter.ztst @@ -2691,3 +2691,8 @@ F:behavior, see http://austingroupbugs.net/view.php?id=888 eval 'echo $(\*)' 0:Backslash character other than newline is normal after $( >What a star + + : ${(zZ+x+):-} +1:parameter expansion flags parsing error gives a clue +?(eval):1: error in flags near position 7 in '${(zZ+x+):-}' + |