C++14 digit separators are not recognized correctly #4160
vinaybs1983
started this conversation in
General
Replies: 1 comment
-
1.1 is really old. Does this happen with the latest ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In version opengrok-1.1-rc21
As in subject - C++14 introduced single quotes as integer separators:
[https://en.cppreference.com/w/cpp/language/integer_literal]
|Optional single quotes ({{{}'{}}}) may be inserted between the digits as a separator. They are ignored by the compiler.|(since C++14)|
But in OpenGrok it's wrongly recognised as start of single character like
char character = 'a';
Beta Was this translation helpful? Give feedback.
All reactions