ruby-changes:46386
From: nobu <ko1@a...>
Date: Fri, 28 Apr 2017 18:50:47 +0900 (JST)
Subject: [ruby-changes:46386] nobu:r58500 (trunk): parse.y: set_line_body is not used in ripper
nobu 2017-04-28 18:50:43 +0900 (Fri, 28 Apr 2017) New Revision: 58500 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58500 Log: parse.y: set_line_body is not used in ripper Modified files: trunk/parse.y Index: parse.y =================================================================== --- parse.y (revision 58499) +++ parse.y (revision 58500) @@ -327,6 +327,7 @@ parser_set_line(NODE *n, int l) https://github.com/ruby/ruby/blob/trunk/parse.y#L327 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) https://github.com/ruby/ruby/blob/trunk/parse.y#L339 } } -#ifndef RIPPER #define yyparse ruby_yyparse static NODE* node_newnode(struct parser_params *, enum node_type, VALUE, VALUE, VALUE); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/