diff options
author | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-13 01:10:27 +0000 |
---|---|---|
committer | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-13 01:10:27 +0000 |
commit | 564dd28616b16f5c72ce324b39eac01b3c596279 (patch) | |
tree | 1c71194323d6e4b14f6a06a5dc4a56ac2ed60b8c /parse.y | |
parent | aac91cb762e20519aca6190345641d27e5991a75 (diff) | |
download | ruby-564dd28616b16f5c72ce324b39eac01b3c596279.tar.gz |
parse.y: Revert r61196
* parse.y: Because top_stmts is generated from none (not "/* none */"),
@0 is not set by YYLLOC_DEFAULT. So @0 is a meaningless location.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1205,7 +1205,7 @@ top_compstmt : top_stmts opt_terms top_stmts : none { /*%%%*/ - $$ = new_begin(0, &@0); + $$ = new_begin(0, &@$); /*% $$ = dispatch2(stmts_add, dispatch0(stmts_new), dispatch0(void_stmt)); |