Bug 388091

Summary: Negative float literals (e.g. -0.5f) are marked as incorrect in C++ mode
Product: [Frameworks and Libraries] frameworks-syntax-highlighting Reporter: Vitaliy <silverunicorn2011>
Component: syntaxAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: minor CC: benni.buch
Priority: NOR    
Version: 5.41.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Vitaliy 2017-12-20 19:42:44 UTC
Kate 17.08.3 (sic)
Kate Part 5.40.0
The bug is present in KDevelop and other applications using KatePart.
Comment 1 Christoph Feck 2018-01-10 13:58:21 UTC
Reproduced with today's master of syntax-highlighting using this line in .cpp:

const float min = -0.5f;
Comment 2 Dominik Haumann 2018-05-29 21:03:45 UTC
Yes, indeed a bug.

*** This bug has been marked as a duplicate of bug 393129 ***