1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Cast as VALUE to suppress type warnings

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2017-02-20 10:59:10 +00:00
parent 1220638f5b
commit c022a09773

View file

@ -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 */