Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++14: digit separators #567

Closed
guwirth opened this issue Jul 7, 2015 · 1 comment · Fixed by #591
Closed

C++14: digit separators #567

guwirth opened this issue Jul 7, 2015 · 1 comment · Fixed by #591
Assignees
Labels
Milestone

Comments

@guwirth
Copy link
Collaborator

guwirth commented Jul 7, 2015

Digit separators are not supported:

//@todo
auto integer_literal = 1'000'000;
auto floating_point_literal = 0.000'015'3;
auto binary_literal = 0b0100'1100'0110;
auto silly_example = 1'0'0'000'00;
@guwirth guwirth added the bug label Jul 7, 2015
@guwirth guwirth modified the milestone: M 0.9.4 Jul 7, 2015
@guwirth
Copy link
Collaborator Author

guwirth commented Jul 9, 2015

It's easy to fix by just adding the ' to the regular expression of the lexer. But don't know if this is sufficient? Should ' be removed for tokens?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

1 participant