diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-14 14:14:51 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-14 14:14:51 +0000 |
| commit | 99e52bcd8edbef353c17c82346c8061b1f0e544c (patch) | |
| tree | 5b611fe0c7cf6a5ff8ae4843a209d5dea355a258 | |
| parent | 269856a4a168d069efb23d7094109fd1165b5b17 (diff) | |
parse.y: ripper no longer uses rb_discard_node
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | parse.y | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -306,11 +306,13 @@ static int parser_yyerror(struct parser_params*, const YYLTYPE *yylloc, const ch static enum yytokentype yylex(YYSTYPE*, YYLTYPE*, struct parser_params*); +#ifndef RIPPER static inline void rb_discard_node(struct parser_params *p, NODE *n) { rb_ast_delete_node(p->ast, n); } +#endif static inline VALUE add_mark_object(struct parser_params *p, VALUE obj) |
