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:
parent
7d085cca4b
commit
191be8057d
1 changed files with 1 additions and 1 deletions
2
parse.y
2
parse.y
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue