diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-05-17 12:36:33 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-05-17 12:36:33 +0000 |
commit | 9095ee5acc48a89184eb95906a2dcda6f7c22b69 (patch) | |
tree | c4ca190885ec67193b4cbb21757d2ae433e11a35 /node.h | |
parent | 110f4748837b3a06f18b542a402e9c6996a0efe0 (diff) | |
download | ruby-9095ee5acc48a89184eb95906a2dcda6f7c22b69.tar.gz |
rb_parser_printf declaration
* node.h (rb_parser_printf): delcare as PRINTF_ARGS.
* parse.y (parser_token_value_print): cast to adjust to %c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'node.h')
-rw-r--r-- | node.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -540,7 +540,7 @@ void *rb_parser_malloc(struct parser_params *, size_t); void *rb_parser_realloc(struct parser_params *, void *, size_t); void *rb_parser_calloc(struct parser_params *, size_t, size_t); void rb_parser_free(struct parser_params *, void *); -void rb_parser_printf(struct parser_params *parser, const char *fmt, ...); +PRINTF_ARGS(void rb_parser_printf(struct parser_params *parser, const char *fmt, ...), 2, 3); RUBY_SYMBOL_EXPORT_END |