mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
banish some ripper warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9e12dc5ce9
commit
d95e8e013b
1 changed files with 5 additions and 5 deletions
10
parse.y
10
parse.y
|
@ -4413,11 +4413,11 @@ static int parser_here_document _((struct parser_params*,NODE*));
|
|||
# define set_yylval_node(x) yylval.node = x
|
||||
# define yylval_id() yylval.id
|
||||
#else
|
||||
# define set_yylval_str(x) x
|
||||
# define set_yylval_num(x) x
|
||||
# define set_yylval_id(x) x
|
||||
# define set_yylval_literal(x) x
|
||||
# define set_yylval_node(x) x
|
||||
# define set_yylval_str(x) (void)(x)
|
||||
# define set_yylval_num(x) (void)(x)
|
||||
# define set_yylval_id(x) (void)(x)
|
||||
# define set_yylval_literal(x) (void)(x)
|
||||
# define set_yylval_node(x) (void)(x)
|
||||
# define yylval_id() SYM2ID(yylval.val)
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue