Bug 348843 - Editor highlights floating point number 1.039 in red in C++ code
Summary: Editor highlights floating point number 1.039 in red in C++ code
Status: RESOLVED FIXED
Alias: None
Product: frameworks-ktexteditor
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-07 15:15 UTC by Alexander Potashev
Modified: 2015-07-11 14:32 UTC (History)
0 users

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 Alexander Potashev 2015-06-07 15:15:00 UTC
The editor in KDevelop (KF5 version) highlights the floating point number 1.039 in red in C++ code. I think it sees "039" as an octal number which contains digit "9" which can not be part of octal number.

Reproducible: Always




KF5 version 5.10
Comment 1 Christoph Cullmann 2015-07-11 14:32:53 UTC
Git commit 12acb06b6c6f6088f5d4c0732a4b9390066eeea7 by Christoph Cullmann.
Committed on 11/07/2015 at 14:32.
Pushed by cullmann into branch 'master'.

fix floating point HL, use the inbuilt Float like in C

M  +4    -2    src/syntax/data/isocpp.xml

http://commits.kde.org/ktexteditor/12acb06b6c6f6088f5d4c0732a4b9390066eeea7