Skip to content

Supports multi-line constant body with escaped newline #507

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

Conversation

aycabta
Copy link
Member

@aycabta aycabta commented Aug 30, 2017

In parse_constant_body method, TkNL is used as terminator of constant body, but TkBACKSLASH can be escape character for TkNL in Ruby syntax.

This Pull Request fixes it.

In parse_constant_body method,
TkNL is used as terminator of constant body,
but TkBACKSLASH can be escape character for TkNL in Ruby syntax.
This commit fixes it.
@aycabta
Copy link
Member Author

aycabta commented Sep 2, 2017

This is simple fix.

@aycabta aycabta merged commit e94579a into ruby:master Sep 2, 2017
@aycabta aycabta deleted the support-multi-line-constant-body-with-escaped-nl branch September 2, 2017 08:31
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.

1 participant