Skip to content

Need support for C++14 integer literals with single quotes #1082

@alllel

Description

@alllel

C++14 allows integer literals with separating of groups of digits with single quotes for readability.
For example following lines:

int a = 0x8000'FFFF;
char b = '\n';`

produce parsing errors:

indent.cpp:2 Garbage in col 12: 5c
indent.cpp:1 Unmatched ASSIGN
indent.cpp:1 Unmatched ASSIGN

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions