Bug 348843

Summary: Editor highlights floating point number 1.039 in red in C++ code
Product: [Frameworks and Libraries] frameworks-ktexteditor Reporter: Alexander Potashev <aspotashev>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

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