Skip to content

Support rational and imaginary #461

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

Merged
merged 3 commits into from
Jul 18, 2017

Conversation

aycabta
Copy link
Member

@aycabta aycabta commented Jul 16, 2017

In RDoc for CRuby, syntax highlight of BigDecimal is broken:

before PR

RDoc splits to 3 and r as different tokens when parsing rational literal 3r.

This Pull Request fixes it like below:

after PR

RDoc detects 3r as one rational token.

@zzak zzak merged commit d566ea1 into ruby:master Jul 18, 2017
@aycabta aycabta deleted the support-rational-and-imaginary branch July 18, 2017 10:45
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.

2 participants