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

feat(parser): Ignore hex literals #32

Merged
merged 3 commits into from
Jul 14, 2019
Merged

feat(parser): Ignore hex literals #32

merged 3 commits into from
Jul 14, 2019

Conversation

epage
Copy link
Collaborator

@epage epage commented Jul 14, 2019

Trying to avoid accidentally correcting something that looks like a word
inside a hex number, like 0xBEAF.

Fixes #19

Trying to avoid accidentally correcting something that looks like a word
inside a hex number, like `0xBEAF`.

Fixes #19
This should be safe.  Rarely is `'` used as syntax in a language that
separates literals.

- `'` is used within hex literals in C++ but we want to treat them as
  one word
- `'` is used for lifetimes in Rust but there are other symbols on the
  left side.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't try to correct hexadecimal values
1 participant