Summary: | Syntax highlighting for Makefiles: operator "+=" not recognized as "=" | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Samuel Hym <Samuel.Hym> |
Component: | syntax | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | minor | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian unstable | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Proposal patch |
fixed for KDE 4.7. |
Created attachment 55455 [details] Proposal patch Version: unspecified (using KDE 4.4.5) OS: Linux The syntax highlighting rules for Makefiles do not recognize properly the "+=" defining operator, which should entail the same behaviour as the "=" operator. I attach a proposal of a patch, but I'm not sure that it was the proper correction, even if it seems to work for me. Reproducible: Always Steps to Reproduce: In a Makefile, write the definitions CFLAGS = -Wall CFLAGS += -D_XOPEN_SOURCE=500 Actual Results: The two lines are highlighted in completely different ways. Expected Results: The two lines should be highlighted alike. OS: Linux (i586) release 2.6.32-trunk-686 Compiler: cc