summaryrefslogtreecommitdiff
path: root/defs/keywords
diff options
context:
space:
mode:
Diffstat (limited to 'defs/keywords')
-rw-r--r--defs/keywords4
1 files changed, 2 insertions, 2 deletions
diff --git a/defs/keywords b/defs/keywords
index e0d931cd1f..a1b1f4f60f 100644
--- a/defs/keywords
+++ b/defs/keywords
@@ -1,8 +1,8 @@
%{
-struct kwtable {int name, id[2], state;};
+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)
%}