aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-06-13 11:25:49 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-06-13 11:25:49 -0300
commit7fae1c17b1f01c2fd719a0f195a979e33f990ee8 (patch)
tree870533906b4428b13af043b12b450f1108c4fad1
parent89e8303f4ea5f1041f3633db7948e7aef17b5226 (diff)
downloadlua-7fae1c17b1f01c2fd719a0f195a979e33f990ee8.tar.gz
lua-7fae1c17b1f01c2fd719a0f195a979e33f990ee8.tar.bz2
lua-7fae1c17b1f01c2fd719a0f195a979e33f990ee8.zip
detail
-rw-r--r--llex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/llex.c b/llex.c
index 74b1982a..bb50c276 100644
--- a/llex.c
+++ b/llex.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llex.c,v 1.84 2001/03/26 14:31:49 roberto Exp roberto $ 2** $Id: llex.c,v 1.85 2001/06/07 15:01:21 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 = (unsigned short)RESERVEDMARK+i; /* reserved word */ 43 ts->marked = (unsigned short)(RESERVEDMARK+i); /* reserved word */
44 } 44 }
45} 45}
46 46