This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 268929 - c++14: digit separator
Summary: c++14: digit separator
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: Dev
Hardware: PC All
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-10 13:36 UTC by soldatov
Modified: 2017-04-05 11:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2016-11-10 13:36:01 UTC
In 2 cases IDE highlights '111' as a string.

int main() {
    long a0 = 1'111'111; // OK
    long a1 = 0x1'111'111; // bug
    long a2 = 0b1'111'111; // bug
    return 0;
}

Really 1'111'111, 0x1'111'111 and 0b1'111'111 is a numbers.