mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
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().
This commit is contained in:
parent
77c61ae3ab
commit
45741918e1
Notes:
git
2022-09-21 11:44:33 +09:00
10 changed files with 11 additions and 19 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue