Add printf format attributes to rb_parser_config_t

This commit is contained in:
Nobuyoshi Nakada 2023-10-19 13:35:49 +09:00
parent 205cbc09d3
commit 5bbb6fd6c3
2 changed files with 6 additions and 0 deletions

View file

@ -110,6 +110,7 @@ rcomplex_get_imag(VALUE obj)
return RCOMPLEX(obj)->imag;
}
RBIMPL_ATTR_FORMAT(RBIMPL_PRINTF_FORMAT, 6, 0)
static VALUE
syntax_error_append(VALUE exc, VALUE file, int line, int column,
void *enc, const char *fmt, va_list args)