diff options
| author | Bart Schaefer <schaefer@zsh.org> | 2024-08-15 18:06:19 -0700 |
|---|---|---|
| committer | Bart Schaefer <schaefer@zsh.org> | 2024-08-15 18:06:19 -0700 |
| commit | 5977d3cdd4b241ab7afff868ed58afc00b45c424 (patch) | |
| tree | 73507fbd28ac1bdf8383e502954e9380f454e55f /Src/lex.c | |
| parent | 53031: Completion/Unix/Command/_git: add missing terminator in case statement (diff) | |
| download | zsh-5977d3cdd4b241ab7afff868ed58afc00b45c424.tar zsh-5977d3cdd4b241ab7afff868ed58afc00b45c424.tar.gz zsh-5977d3cdd4b241ab7afff868ed58afc00b45c424.tar.bz2 zsh-5977d3cdd4b241ab7afff868ed58afc00b45c424.tar.lz zsh-5977d3cdd4b241ab7afff868ed58afc00b45c424.tar.xz zsh-5977d3cdd4b241ab7afff868ed58afc00b45c424.tar.zst zsh-5977d3cdd4b241ab7afff868ed58afc00b45c424.zip | |
unposted: fix parsing of Bang token in value side of array element assignment
Diffstat (limited to 'Src/lex.c')
| -rw-r--r-- | Src/lex.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1402,10 +1402,11 @@ gettokstr(int c, int sub) /* * Same logic as Dash, for ! to perform negation in range. */ - if (seen_brct) + if (seen_brct && brct) c = Bang; else c = '!'; + break; case LX2_OTHER: if (in_brace_param) { if (c == '/') { |
