ripper.c should have #line "ripper.c", not #line "parse.c"
#line "ripper.c"
#line "parse.c"
The order of sed commands in Makefile of ripper was wrong: it tries to replace y.tab.c with ripper.c, but before that, ytab.sed replaced y.tab.c with parse.c, which led to a wrong result.
y.tab.c
ripper.c
parse.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ripper.c should have
#line "ripper.c"
, not#line "parse.c"
The order of sed commands in Makefile of ripper was wrong: it tries to
replace
y.tab.c
withripper.c
, but before that, ytab.sed replacedy.tab.c
withparse.c
, which led to a wrong result.git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e