summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-05 08:59:20 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-05 08:59:20 +0000
commit503b858cefcc945405185c3c70dd07a60f920469 (patch)
tree10996cd780b341156b2fb3526e77f682f6581f0d /parse.y
parenta6794c4b01ceb96d3d36f8854309e2e3b878f7e3 (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.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index a036c808b6..6df4a3b2ca 100644
--- a/parse.y
+++ b/parse.y
@@ -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 */