Bug 261819 - Syntax highlighting for Makefiles: operator "+=" not recognized as "="
Summary: Syntax highlighting for Makefiles: operator "+=" not recognized as "="
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: syntax (show other bugs)
Version: unspecified
Platform: Debian unstable Linux
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-01 21:57 UTC by Samuel Hym
Modified: 2011-06-25 18:40 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Proposal patch (786 bytes, patch)
2011-01-01 21:57 UTC, Samuel Hym
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Hym 2011-01-01 21:57:51 UTC
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
Comment 1 Dominik Haumann 2011-06-25 18:40:40 UTC
fixed for KDE 4.7.