Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 52 lines (50 sloc) 2.15 kb
511dc44 initial import
Laurent Sansonetti authored
1 %{
26d0e1f merge with ruby trunk r16762 + better/faster objc-like dispatcher
Laurent Sansonetti authored
2 struct kwtable {const char *name; int id[2]; enum lex_state_e state;};
511dc44 initial import
Laurent Sansonetti authored
3 const struct kwtable *rb_reserved_word(const char *, unsigned int);
4 #ifndef RIPPER
5 %}
6
7 struct kwtable;
8 %%
9 __ENCODING__, {keyword__ENCODING__, keyword__ENCODING__}, EXPR_END
10 __LINE__, {keyword__LINE__, keyword__LINE__}, EXPR_END
11 __FILE__, {keyword__FILE__, keyword__FILE__}, EXPR_END
12 BEGIN, {keyword_BEGIN, keyword_BEGIN}, EXPR_END
13 END, {keyword_END, keyword_END}, EXPR_END
14 alias, {keyword_alias, keyword_alias}, EXPR_FNAME
15 and, {keyword_and, keyword_and}, EXPR_VALUE
16 begin, {keyword_begin, keyword_begin}, EXPR_BEG
17 break, {keyword_break, keyword_break}, EXPR_MID
18 case, {keyword_case, keyword_case}, EXPR_VALUE
19 class, {keyword_class, keyword_class}, EXPR_CLASS
20 def, {keyword_def, keyword_def}, EXPR_FNAME
21 defined?, {keyword_defined, keyword_defined}, EXPR_ARG
22 do, {keyword_do, keyword_do}, EXPR_BEG
23 else, {keyword_else, keyword_else}, EXPR_BEG
24 elsif, {keyword_elsif, keyword_elsif}, EXPR_VALUE
25 end, {keyword_end, keyword_end}, EXPR_END
26 ensure, {keyword_ensure, keyword_ensure}, EXPR_BEG
27 false, {keyword_false, keyword_false}, EXPR_END
28 for, {keyword_for, keyword_for}, EXPR_VALUE
29 if, {keyword_if, modifier_if}, EXPR_VALUE
30 in, {keyword_in, keyword_in}, EXPR_VALUE
31 module, {keyword_module, keyword_module}, EXPR_VALUE
32 next, {keyword_next, keyword_next}, EXPR_MID
33 nil, {keyword_nil, keyword_nil}, EXPR_END
34 not, {keyword_not, keyword_not}, EXPR_VALUE
35 or, {keyword_or, keyword_or}, EXPR_VALUE
36 redo, {keyword_redo, keyword_redo}, EXPR_END
37 rescue, {keyword_rescue, modifier_rescue}, EXPR_MID
38 retry, {keyword_retry, keyword_retry}, EXPR_END
39 return, {keyword_return, keyword_return}, EXPR_MID
40 self, {keyword_self, keyword_self}, EXPR_END
41 super, {keyword_super, keyword_super}, EXPR_ARG
42 then, {keyword_then, keyword_then}, EXPR_BEG
43 true, {keyword_true, keyword_true}, EXPR_END
44 undef, {keyword_undef, keyword_undef}, EXPR_FNAME
45 unless, {keyword_unless, modifier_unless}, EXPR_VALUE
46 until, {keyword_until, modifier_until}, EXPR_VALUE
47 when, {keyword_when, keyword_when}, EXPR_VALUE
48 while, {keyword_while, modifier_while}, EXPR_VALUE
49 yield, {keyword_yield, keyword_yield}, EXPR_ARG
50 %%
51 #endif
Something went wrong with that request. Please try again.