From d95e8e013b571c81cbe847e6bb18a53e81ccab13 Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 24 Sep 2005 22:34:56 +0000 Subject: [PATCH] banish some ripper warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- parse.y | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/parse.y b/parse.y index 50616cd7ab..182efbbea2 100644 --- a/parse.y +++ b/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