Bug 519062 - [c++14] Add support for digit separators
Summary: [c++14] Add support for digit separators
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 9.2.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 9.5.0   Edit
Assignee: Vlad Ivanov CLA
QA Contact: Anton Leherbauer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 451086 534070
  Show dependency tree
 
Reported: 2017-07-01 04:42 EDT by soman namos CLA
Modified: 2018-04-25 22:15 EDT (History)
3 users (show)

See Also:


Attachments
Bug's screenshot (147.36 KB, image/png)
2017-07-01 04:42 EDT, soman namos CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description soman namos CLA 2017-07-01 04:42:15 EDT
Created attachment 269156 [details]
Bug's screenshot

Here ( http://en.cppreference.com/w/cpp/language/integer_literal ) we could see some variants for unsigned long long literal writing. I tried to copy-paste them to the editor and got errors in editor + incorrect highlight.

Steps to reproduce:
1) Type the next code in editor.
===============================================
unsigned long long l2 = 18'446'744'073'709'550'592llu; // C++14
unsigned long long l3 = 1844'6744'0737'0955'0592uLL; // C++14
unsigned long long l4 = 184467'440737'0'95505'92LLU; // C++14
===============================================

Screenshot's attached.

Note: I don't see here v9.2.1 (neon.3), I marked as 9.2.0.
Comment 1 Nathan Ridge CLA 2017-07-02 23:45:30 EDT
Support for C++14 digit separators is not implemented yet.
Comment 2 Eclipse Genie CLA 2018-04-19 06:51:38 EDT
New Gerrit change created: https://git.eclipse.org/r/121404
Comment 3 Eclipse Genie CLA 2018-04-20 10:56:07 EDT
New Gerrit change created: https://git.eclipse.org/r/121483
Comment 5 Nathan Ridge CLA 2018-04-25 22:09:29 EDT
Thank you Vlad for contributing a fix for this!