Bug 261819

Summary: Syntax highlighting for Makefiles: operator "+=" not recognized as "="
Product: [Applications] kate Reporter: Samuel Hym <Samuel.Hym>
Component: syntaxAssignee: 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:
Attachments: Proposal patch

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.