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

Def in cmdarg #2096

Merged
merged 2 commits into from
Apr 20, 2014
Merged

Def in cmdarg #2096

merged 2 commits into from
Apr 20, 2014

Conversation

nobu
Copy link
Contributor

@nobu nobu commented Apr 20, 2014

allow method definition in cmdarg.
fix syntax error in the following code:

bar def foo; self.each do end end

save cmdarg_stack and isolate command argument state from outer scope
to allow method definition in cmdarg

import from ruby/ruby@04bb9d6
matz added a commit that referenced this pull request Apr 20, 2014
@matz matz merged commit 4654db4 into mruby:master Apr 20, 2014
@nobu nobu deleted the def_in_cmdarg branch April 21, 2014 03:05
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