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

Improve tokenising of numbers in Elixir lexer #1225

Merged
merged 2 commits into from
Jun 28, 2019

Conversation

pyrmont
Copy link
Contributor

@pyrmont pyrmont commented Jun 26, 2019

The Elixir lexer does not include sophisticated rules for tokenising numbers. This commit adds rules for distinguishing between integer, float, hexadecimal, octal and binary representations. It incorporates the work of @thth from #1015.

@pyrmont pyrmont added the needs-review The PR needs to be reviewed label Jun 26, 2019
@pyrmont pyrmont merged commit 51dceea into rouge-ruby:master Jun 28, 2019
@pyrmont pyrmont removed the needs-review The PR needs to be reviewed label Jun 28, 2019
@pyrmont pyrmont deleted the bugfix.elixir-numbers branch January 8, 2020 20:07
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.

None yet

2 participants