Created attachment 161153 [details] Example of incorrect coloring SUMMARY Incorrect coloring of nested $$() entries of Make files. STEPS TO REPRODUCE 1. Try to open this file in Kate / Kwrite https://github.com/fedora-java/jurand/blob/663ff198e8478650b82f7f4d31f3c7663ee527c0/rules.mk#L19 OBSERVED RESULT Nested entries like $$() are colored incorrectly (ending parenthesis has different color than the leading parenthesis. EXPECTED RESULT Parentheses should be colored consistently, i. e. $$ should be handled by the syntax parser. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora KDE 38 (available in About System) KDE Plasma Version: 5.27.6 KDE Frameworks Version: 5.108.0 Qt Version: 5.15.10 ADDITIONAL INFORMATION
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/530
Git commit dcb0ded3f59764f08bb1203df706e9373b5475d3 by Christoph Cullmann, on behalf of Jonathan Poelen. Committed on 03/09/2023 at 19:46. Pushed by cullmann into branch 'master'. Makefile: fix parenthesis in call function ```make $(call func,bla(bla)$(bla)(bla)bla) # ~~~~~~~~ ~~~ ~~~~~~~~ FuncParam # ~~ ~ ~ Operator ``` M +3 -0 autotests/folding/Makefile.fold M +3 -0 autotests/html/Makefile.dark.html M +3 -0 autotests/html/Makefile.html M +3 -0 autotests/input/Makefile M +3 -0 autotests/reference/Makefile.ref M +18 -5 data/syntax/makefile.xml https://invent.kde.org/frameworks/syntax-highlighting/-/commit/dcb0ded3f59764f08bb1203df706e9373b5475d3