mirror of
https://github.com/ruby/ruby.git
synced 2025-08-26 22:45:03 +02:00
* parse.y (primary): fix position after FCALL. [ruby-dev:22574]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2cf0333f73
commit
1666a8520c
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon Jan 12 23:27:19 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* parse.y (primary): fix position after FCALL. [ruby-dev:22574]
|
||||
|
||||
Mon Jan 12 12:07:22 2004 Dave Thomas <dave@pragprog.com>
|
||||
|
||||
* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::do_methods):
|
||||
|
|
2
parse.y
2
parse.y
|
@ -1460,6 +1460,7 @@ primary : literal
|
|||
$$ = NEW_FCALL(tAREF, $3);
|
||||
else
|
||||
$$ = NEW_CALL($1, tAREF, $3);
|
||||
fixpos($$, $1);
|
||||
}
|
||||
| tLBRACK aref_args ']'
|
||||
{
|
||||
|
@ -1499,6 +1500,7 @@ primary : literal
|
|||
{
|
||||
$2->nd_iter = NEW_FCALL($1, 0);
|
||||
$$ = $2;
|
||||
fixpos($2->nd_iter, $2);
|
||||
}
|
||||
| method_call
|
||||
| method_call brace_block
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue