2 struct kwtable {short name, id[2], state;};
3 const struct kwtable *rb_reserved_word(const char *, unsigned int);
5 static const struct kwtable *reserved_word(register const char *str, register size_t len);
6 #define rb_reserved_word(str, len) reserved_word(str, len)
11 __ENCODING__, {keyword__ENCODING__, keyword__ENCODING__}, EXPR_END
12 __LINE__, {keyword__LINE__, keyword__LINE__}, EXPR_END
13 __FILE__, {keyword__FILE__, keyword__FILE__}, EXPR_END
14 BEGIN, {keyword_BEGIN, keyword_BEGIN}, EXPR_END
15 END, {keyword_END, keyword_END}, EXPR_END
16 alias, {keyword_alias, keyword_alias}, EXPR_FNAME|EXPR_FITEM
17 and, {keyword_and, keyword_and}, EXPR_VALUE
18 begin, {keyword_begin, keyword_begin}, EXPR_BEG
19 break, {keyword_break, keyword_break}, EXPR_MID
20 case, {keyword_case, keyword_case}, EXPR_VALUE
21 class, {keyword_class, keyword_class}, EXPR_CLASS
22 def, {keyword_def, keyword_def}, EXPR_FNAME
23 defined?, {keyword_defined, keyword_defined}, EXPR_ARG
24 do, {keyword_do, keyword_do}, EXPR_BEG
25 else, {keyword_else, keyword_else}, EXPR_BEG
26 elsif, {keyword_elsif, keyword_elsif}, EXPR_VALUE
27 end, {keyword_end, keyword_end}, EXPR_END
28 ensure, {keyword_ensure, keyword_ensure}, EXPR_BEG
29 false, {keyword_false, keyword_false}, EXPR_END
30 for, {keyword_for, keyword_for}, EXPR_VALUE
31 if, {keyword_if, modifier_if}, EXPR_VALUE
32 in, {keyword_in, keyword_in}, EXPR_VALUE
33 module, {keyword_module, keyword_module}, EXPR_VALUE
34 next, {keyword_next, keyword_next}, EXPR_MID
35 nil, {keyword_nil, keyword_nil}, EXPR_END
36 not, {keyword_not, keyword_not}, EXPR_ARG
37 or, {keyword_or, keyword_or}, EXPR_VALUE
38 redo, {keyword_redo, keyword_redo}, EXPR_END
39 rescue, {keyword_rescue, modifier_rescue}, EXPR_MID
40 retry, {keyword_retry, keyword_retry}, EXPR_END
41 return, {keyword_return, keyword_return}, EXPR_MID
42 self, {keyword_self, keyword_self}, EXPR_END
43 super, {keyword_super, keyword_super}, EXPR_ARG
44 then, {keyword_then, keyword_then}, EXPR_BEG
45 true, {keyword_true, keyword_true}, EXPR_END
46 undef, {keyword_undef, keyword_undef}, EXPR_FNAME|EXPR_FITEM
47 unless, {keyword_unless, modifier_unless}, EXPR_VALUE
48 until, {keyword_until, modifier_until}, EXPR_VALUE
49 when, {keyword_when, keyword_when}, EXPR_VALUE
50 while, {keyword_while, modifier_while}, EXPR_VALUE
51 yield, {keyword_yield, keyword_yield}, EXPR_ARG