From 45741918e1963fce3416b253712cfd4745368e7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= Date: Fri, 16 Sep 2022 15:14:05 +0900 Subject: reserved_word: just use gperf 3.1 declaration The reason why this was commented out was because of gperf 3.0 vs 3.1 differences (see [Feature #13883]). Five years passed, I am pretty confident that we can drop support of old versions here. Ditto for uniname2ctype_p(), onig_jis_property(), and zonetab(). --- lex.c.blt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lex.c.blt') diff --git a/lex.c.blt b/lex.c.blt index 92a4793b00..85727ed00f 100644 --- a/lex.c.blt +++ b/lex.c.blt @@ -34,7 +34,7 @@ struct kwtable {short name, id[2], state;}; const struct kwtable *rb_reserved_word(const char *, unsigned int); #ifndef RIPPER -static const struct kwtable *reserved_word(/*const char *, unsigned int*/); +static const struct kwtable *reserved_word(register const char *str, register size_t len); #define rb_reserved_word(str, len) reserved_word(str, len) #line 9 "defs/keywords" struct kwtable; -- cgit v1.2.1