aboutsummaryrefslogtreecommitdiff
path: root/llex.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-06-07 12:01:21 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-06-07 12:01:21 -0300
commitba11831d357889ee090ce92ff508957c6c023c42 (patch)
treed54958d74c7fc1d5b751bf4819ed7345e3b6e69b /llex.c
parent190ddd431dd9f14148d232ed9a72db482a1df934 (diff)
downloadlua-ba11831d357889ee090ce92ff508957c6c023c42.tar.gz
lua-ba11831d357889ee090ce92ff508957c6c023c42.tar.bz2
lua-ba11831d357889ee090ce92ff508957c6c023c42.zip
smaller structs for udata and for strings
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