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

Fix postfix if/unless/while/until after heredoc #485

Merged
merged 2 commits into from
Aug 22, 2017

Conversation

aycabta
Copy link
Member

@aycabta aycabta commented Aug 9, 2017

The postfix if/unless/while/until are detected by what @lex_state is :EXPR_END. So sets :EXPR_END on @lex_state when TkHEREDOCBEG is created.

The postfix if/unless/while/until are detected
by what @lex_state is :EXPR_END.
So sets :EXPR_END on @lex_state when TkHEREDOCBEG is created.
@hsbt
Copy link
Member

hsbt commented Aug 22, 2017

I confirmed to assertion for Foo#blah markup.

@hsbt hsbt merged commit 8fc1624 into ruby:master Aug 22, 2017
@aycabta aycabta deleted the fix-postfix-if-after-heredoc branch August 22, 2017 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants