diff options
Diffstat (limited to 'llex.c')
-rw-r--r-- | llex.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: llex.c,v 2.15 2005/12/07 15:43:05 roberto Exp roberto $ | 2 | ** $Id: llex.c,v 2.16 2005/12/08 15:50:54 roberto Exp roberto $ |
3 | ** Lexical Analyzer | 3 | ** Lexical Analyzer |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -66,7 +66,7 @@ void luaX_init (lua_State *L) { | |||
66 | TString *ts = luaS_new(L, luaX_tokens[i]); | 66 | TString *ts = luaS_new(L, luaX_tokens[i]); |
67 | luaS_fix(ts); /* reserved words are never collected */ | 67 | luaS_fix(ts); /* reserved words are never collected */ |
68 | lua_assert(strlen(luaX_tokens[i])+1 <= TOKEN_LEN); | 68 | lua_assert(strlen(luaX_tokens[i])+1 <= TOKEN_LEN); |
69 | ts->tsv.reserved = cast(lu_byte, i+1); /* reserved word */ | 69 | ts->tsv.reserved = cast_byte(i+1); /* reserved word */ |
70 | } | 70 | } |
71 | } | 71 | } |
72 | 72 | ||