diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-05 08:59:20 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-05 08:59:20 +0000 |
commit | 503b858cefcc945405185c3c70dd07a60f920469 (patch) | |
tree | 10996cd780b341156b2fb3526e77f682f6581f0d /parse.y | |
parent | a6794c4b01ceb96d3d36f8854309e2e3b878f7e3 (diff) |
node.h: define rb_ast_body_t and restructure rb_ast_t
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5675,7 +5675,7 @@ yycompile(VALUE vparser, struct parser_params *parser, VALUE fname, int line) ruby_sourceline = line - 1; parser->ast = ast = rb_ast_new(); - ast->root = (NODE *)rb_suppress_tracing(yycompile0, (VALUE)parser); + ast->body.root = (NODE *)rb_suppress_tracing(yycompile0, (VALUE)parser); parser->ast = 0; RB_GC_GUARD(vparser); /* prohibit tail call optimization */ |