aboutsummaryrefslogtreecommitdiff
path: root/llex.c
diff options
context:
space:
mode:
Diffstat (limited to 'llex.c')
-rw-r--r--llex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/llex.c b/llex.c
index dfe7dbac..74b1982a 100644
--- a/llex.c
+++ b/llex.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llex.c,v 1.83 2001/03/07 12:49:37 roberto Exp roberto $ 2** $Id: llex.c,v 1.84 2001/03/26 14:31:49 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*/
@@ -40,7 +40,7 @@ void luaX_init (lua_State *L) {
40 for (i=0; i<NUM_RESERVED; i++) { 40 for (i=0; i<NUM_RESERVED; i++) {
41 TString *ts = luaS_new(L, token2string[i]); 41 TString *ts = luaS_new(L, token2string[i]);
42 lua_assert(strlen(token2string[i])+1 <= TOKEN_LEN); 42 lua_assert(strlen(token2string[i])+1 <= TOKEN_LEN);
43 ts->marked = RESERVEDMARK+i; /* reserved word */ 43 ts->marked = (unsigned short)RESERVEDMARK+i; /* reserved word */
44 } 44 }
45} 45}
46 46