diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-12 14:27:22 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-12 14:27:22 +0000 |
| commit | ce7c1b42f90a7b0d215a6f44405dbb6f2da2d08c (patch) | |
| tree | 96c5c63c18fcd990ae9b98c9c5dcd82be7a22681 /parse.y | |
| parent | b93a3376d07a2022bc5b2a6a844087cec2c7b0c5 (diff) | |
| download | ruby-ce7c1b42f90a7b0d215a6f44405dbb6f2da2d08c.tar.gz ruby-ce7c1b42f90a7b0d215a6f44405dbb6f2da2d08c.tar.xz ruby-ce7c1b42f90a7b0d215a6f44405dbb6f2da2d08c.zip | |
* parse.y (primary): fix position after FCALL. [ruby-dev:22574]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
| -rw-r--r-- | parse.y | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |
