aboutsummaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-20 10:59:10 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-20 10:59:10 +0000
commit78e0599f7c5b69b2984e769a7cb1b2631104571b (patch)
tree6263fab58a59b58d0aef4f97a92588e4ff86aeab /parse.y
parentcdff6b272b39155aff47e45e5efbd99859a31749 (diff)
downloadruby-78e0599f7c5b69b2984e769a7cb1b2631104571b.tar.gz
Cast as VALUE to suppress type warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index 2bd6f386db..35de2cc848 100644
--- a/parse.y
+++ b/parse.y
@@ -786,7 +786,7 @@ static VALUE parser_heredoc_dedent(struct parser_params*,VALUE);
#define FIXME 0
#else
-#define ID2VAL(id) (id)
+#define ID2VAL(id) ((VALUE)(id))
#define TOKEN2VAL(t) ID2VAL(t)
#endif /* RIPPER */