diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-02-20 10:59:10 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-02-20 10:59:10 +0000 |
commit | c022a097739e88bbb0a4d9d1bad719e9dc162290 (patch) | |
tree | 6263fab58a59b58d0aef4f97a92588e4ff86aeab /parse.y | |
parent | 1220638f5b7daaef030c4c6980fb2d77d5dee787 (diff) |
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.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |