Bug 388091 - Negative float literals (e.g. -0.5f) are marked as incorrect in C++ mode
Summary: Negative float literals (e.g. -0.5f) are marked as incorrect in C++ mode
Status: RESOLVED DUPLICATE of bug 393129
Alias: None
Product: frameworks-syntax-highlighting
Classification: Frameworks and Libraries
Component: syntax (show other bugs)
Version: 5.41.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-20 19:42 UTC by Vitaliy
Modified: 2018-05-29 21:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***