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 | d094d007202904ad036a8034f0b6b23feb6dbe38 (patch) | |
tree | 96c5c63c18fcd990ae9b98c9c5dcd82be7a22681 | |
parent | a739d26d0a494a141059c0e8045bff66bc66d39b (diff) | |
download | ruby-d094d007202904ad036a8034f0b6b23feb6dbe38.tar.gz |
* parse.y (primary): fix position after FCALL. [ruby-dev:22574]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 12 | ||||
-rw-r--r-- | parse.y | 2 |
2 files changed, 10 insertions, 4 deletions
@@ -1,13 +1,17 @@ +Mon Jan 12 23:26:21 2004 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * parse.y (primary): fix position after FCALL. [ruby-dev:22574] + Mon Jan 12 18:00:11 2004 Ian Macdonald <ian@caliban.org> - + * file.c (test_wr, test_ww): New functions implementing new methods (File::world_readable?, File::world_writable?). - + * file.c (S_IRUGO, S_IGUGO): New macros. Mon Jan 12 12:07:22 2004 Dave Thomas <dave@pragprog.com> - * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::do_methods): + * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::do_methods): Someone changed the "// in eval.c" comments to "/*...*/" style, so the parsing of the source file name broke. @@ -19,7 +23,7 @@ Mon Jan 12 12:07:22 2004 Dave Thomas <dave@pragprog.com> and all intervening code was included in the following method's documentation. - * lib/rdoc/ri/ri_formatter.rb (RI::HtmlFormatter::break_to_newline): + * lib/rdoc/ri/ri_formatter.rb (RI::HtmlFormatter::break_to_newline): HTML formats need explicit line breaks. Mon Jan 12 02:24:07 2004 Dave Thomas <dave@pragprog.com> @@ -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 |