src/tokens.h

changeset 82
841562f5a32f
parent 79
2425fa6a4f21
child 85
264a61e9eba0
equal deleted inserted replaced
81:071715c17296 82:841562f5a32f
77 tk_const, // - 34 77 tk_const, // - 34
78 tk_default, // ----- 35 78 tk_default, // ----- 35
79 tk_do, // - 36 79 tk_do, // - 36
80 tk_else, // - 37 80 tk_else, // - 37
81 tk_event, // - 38 81 tk_event, // - 38
82 tk_for, // - 39 82 tk_eventdef, // - 39
83 tk_goto, // ----- 40 83 tk_for, // ----- 40
84 tk_if, // - 41 84 tk_funcdef, // - 41
85 tk_int, // - 42 85 tk_goto, // - 42
86 tk_mainloop, // - 43 86 tk_if, // - 43
87 tk_onenter, // - 44 87 tk_int, // - 44
88 tk_onexit, // ----- 45 88 tk_mainloop, // ----- 45
89 tk_state, // - 46 89 tk_onenter, // - 46
90 tk_switch, // - 47 90 tk_onexit, // - 47
91 tk_str, // - 48 91 tk_state, // - 48
92 tk_void, // - 49 92 tk_switch, // - 49
93 tk_while, // ----- 50 93 tk_str, // ----- 50
94 tk_void, // - 51
95 tk_while, // - 52
94 96
95 // These ones aren't implemented yet but I plan to do so, thus they are 97 // These ones aren't implemented yet but I plan to do so, thus they are
96 // reserved. Also serves as a to-do list of sorts for me. >:F 98 // reserved. Also serves as a to-do list of sorts for me. >:F
97 tk_enum, // - 51 99 tk_enum, // - 53
98 tk_func, // - 52 100 tk_func, // - 54
99 tk_return, // - 53 101 tk_return, // ----- 55
100 102
101 // -------------- 103 // --------------
102 // Generic tokens 104 // Generic tokens
103 tk_symbol, // - 54 105 tk_symbol, // - 56
104 tk_number, // ----- 55 106 tk_number, // - 57
105 tk_string, // - 56 107 tk_string, // - 58
106 108
107 tk_first_named_token = tk_bool, 109 tk_first_named_token = tk_bool,
108 tk_last_named_token = (int) tk_symbol - 1, 110 tk_last_named_token = (int) tk_symbol - 1,
109 tk_any = INT_MAX 111 tk_any = INT_MAX
110 }; 112 };

mercurial