| Summary: | Highlighting indicates error in correct Bash's coproc statement | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-syntax-highlighting | Reporter: | Thomas Fischer <fischer> |
| Component: | syntax | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | walter.von.entferndt |
| Priority: | NOR | ||
| Version First Reported In: | 5.98.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/frameworks/syntax-highlighting/commit/064930cbfb3c6d6b506c45e9bfad5c350106eaf5 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/369 Git commit 064930cbfb3c6d6b506c45e9bfad5c350106eaf5 by Christoph Cullmann, on behalf of Jonathan Poelen. Committed on 16/10/2022 at 15:50. Pushed by cullmann into branch 'master'. Bash/Zsh: fix group command with coproc statement M +5 -0 autotests/folding/highlight.sh.fold M +4 -0 autotests/folding/test.zsh.fold M +5 -0 autotests/html/highlight.sh.dark.html M +5 -0 autotests/html/highlight.sh.html M +4 -0 autotests/html/test.zsh.dark.html M +4 -0 autotests/html/test.zsh.html M +5 -0 autotests/input/highlight.sh M +4 -0 autotests/input/test.zsh M +5 -0 autotests/reference/highlight.sh.ref M +4 -0 autotests/reference/test.zsh.ref M +14 -1 data/syntax/bash.xml M +2 -1 data/syntax/zsh.xml https://invent.kde.org/frameworks/syntax-highlighting/commit/064930cbfb3c6d6b506c45e9bfad5c350106eaf5 |
The following text is correct Bash code: coproc { ls thisfiledoesntexist; read; } 2>&1 Syntax highlighting for Bash, however, indicates that the closing curly bracket (after "read;", before "2) is wrong. Example on coproc taken from https://wiki.bash-hackers.org/syntax/keywords/coproc