Skip to content

Conversation

aycabta
Copy link
Member

@aycabta aycabta commented Aug 13, 2017

In : token processing, TkSYMBEG is generated only when @lex_state is not :EXPR_END. But yield/super/defined? is :EXPR_END. So if first arg in those is :, it becomes TkCOLON as distinct from TkSYMBEG.

This Pull Request fixes it.

In ":" token processing,
TkSYMBEG is generated
only when @lex_state is not :EXPR_END.
But yield/super/defined? is :EXPR_END.
So if first arg in those is ":",
it becomes TkCOLON as distinct from TkSYMBEG.
This commit fixes it.
@hsbt hsbt merged commit ef2cfbc into ruby:master Aug 15, 2017
@aycabta aycabta deleted the fix-symbol-handling-in-args-of-yield branch August 15, 2017 13:33
@aycabta
Copy link
Member Author

aycabta commented Aug 15, 2017

Thanks 💗 a 💓 lot!

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