Skip to content

Commit

Permalink
Support 'Module::foo bar' style command calls
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Oct 11, 2013
1 parent 0f3f947 commit 7712501
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/opal/grammar.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/opal/grammar.y
Expand Up @@ -232,7 +232,7 @@ command:
| primary_value '.' operation2 command_args cmd_brace_block
| primary_value '::' operation2 command_args =LOWEST
{
result = "result = ['call', val[0], val[2], val[3]];"
result = new_call val[0], val[2].intern, val[3]
}
| primary_value '::' operation2 command_args cmd_brace_block
| SUPER command_args
Expand Down

0 comments on commit 7712501

Please sign in to comment.