| 63 | |
| 64 | |
| 65 | void luaX_init (lua_State *L) { |
| 66 | int i; |
| 67 | for (i=0; i<NUM_RESERVED; i++) { |
| 68 | TString *ts = luaS_new(L, luaX_tokens[i]); |
| 69 | luaS_fix(ts); /* reserved words are never collected */ |
| 70 | ts->tsv.extra = cast_byte(i+1); /* reserved word */ |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | |
| 75 | const char *luaX_token2str (LexState *ls, int token) { |