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 270118 - cnd editor doesn't support modern literals
Summary: cnd editor doesn't support modern literals
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-18 18:24 UTC by Vladimir Voskresensky
Modified: 2017-04-27 11:57 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 Vladimir Voskresensky 2017-03-18 18:24:33 UTC
numbers from test/Lexer/cxx1y_digit_separators.cpp should work.
Comment 1 Vladimir Voskresensky 2017-04-05 19:02:36 UTC
fixed on enum:
rev/6baadc324047

support digits separators:
1'2'3  
12'3 
0b0101'0100 
0B0101'0100
0'004'000'000 
0xf'4240 
0X10'0000 
1e1'0
Comment 2 ilia 2017-04-12 12:49:25 UTC
https://netbeans.org/bugzilla/show_bug.cgi?id=270118 Changesets:
    http://hg.netbeans.org/releases/rev/6baadc324047 # fixed #270118 - cnd editor doesn't support modern literals
Comment 3 soldatov 2017-04-20 10:25:05 UTC
In editor I see a lot of errors If number contains 1, 3, 5 ' signs only.

For example:
int main() {
    int a1 = 1'23;
}
==>
a1 - unresolved identifier
} - unexpected token
Comment 4 soldatov 2017-04-27 11:57:48 UTC
Verified in NetBeans IDE 8.2 (Build 201704241609)

This changeset fixes bug with colors in editor. For example in such case:
int main() {
    int a1 = 0b0101'0100;
}