1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

parse.y: set_line_body is not used in ripper

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2017-04-28 09:50:43 +00:00
parent 7d085cca4b
commit 191be8057d

View file

@ -327,6 +327,7 @@ parser_set_line(NODE *n, int l)
nd_set_line(n, l);
}
#ifndef RIPPER
static inline void
set_line_body(NODE *body, int line)
{
@ -338,7 +339,6 @@ set_line_body(NODE *body, int line)
}
}
#ifndef RIPPER
#define yyparse ruby_yyparse
static NODE* node_newnode(struct parser_params *, enum node_type, VALUE, VALUE, VALUE);