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++: Added support for binary numbers and single quote separators #1887

Merged
merged 1 commit into from
May 28, 2019

Conversation

RunDevelopment
Copy link
Member

This PR fixes #1886.

The new number pattern is based on @nabijaczleweli's pattern with the addition of binary integer literals.

Example

image


@nabijaczleweli, please confirm that this fixes your issue.

@nabijaczleweli
Copy link

And so it does! Thank you!

@RunDevelopment RunDevelopment merged commit 3de29e7 into PrismJS:master May 28, 2019
@RunDevelopment RunDevelopment deleted the cpp-number-fix branch May 28, 2019 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support separating single quotes in C++ floating point and integer literals
2 participants