aboutsummaryrefslogtreecommitdiff
path: root/lbuiltin.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-05-24 10:54:49 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-05-24 10:54:49 -0300
commitef62b340e0a6b7b18931000dcbb19c4703bfe0e8 (patch)
treed9d995116a8a686b798d1b625b06ead26f28ba58 /lbuiltin.c
parent5c2dd7a9e0a5b871a71ba66c4683cd88fe4f5aa4 (diff)
downloadlua-ef62b340e0a6b7b18931000dcbb19c4703bfe0e8.tar.gz
lua-ef62b340e0a6b7b18931000dcbb19c4703bfe0e8.tar.bz2
lua-ef62b340e0a6b7b18931000dcbb19c4703bfe0e8.zip
code cleaner for 16 bits.
Diffstat (limited to 'lbuiltin.c')
-rw-r--r--lbuiltin.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lbuiltin.c b/lbuiltin.c
index 22b23e5a..77a4d388 100644
--- a/lbuiltin.c
+++ b/lbuiltin.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lbuiltin.c,v 1.108 2000/05/08 19:32:53 roberto Exp roberto $ 2** $Id: lbuiltin.c,v 1.109 2000/05/09 14:50:16 roberto Exp roberto $
3** Built-in functions 3** Built-in functions
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -273,7 +273,7 @@ static void passresults (lua_State *L) {
273} 273}
274 274
275void luaB_dostring (lua_State *L) { 275void luaB_dostring (lua_State *L) {
276 long l; 276 size_t l;
277 const char *s = luaL_check_lstr(L, 1, &l); 277 const char *s = luaL_check_lstr(L, 1, &l);
278 if (*s == ID_CHUNK) 278 if (*s == ID_CHUNK)
279 lua_error(L, "`dostring' cannot run pre-compiled code"); 279 lua_error(L, "`dostring' cannot run pre-compiled code");
@@ -633,7 +633,6 @@ static const struct luaL_reg builtin_funcs[] = {
633 633
634void luaB_predefine (lua_State *L) { 634void luaB_predefine (lua_State *L) {
635 /* pre-register mem error messages, to avoid loop when error arises */ 635 /* pre-register mem error messages, to avoid loop when error arises */
636 luaS_newfixed(L, tableEM);
637 luaS_newfixed(L, memEM); 636 luaS_newfixed(L, memEM);
638 luaL_openl(L, builtin_funcs); 637 luaL_openl(L, builtin_funcs);
639#ifdef DEBUG 638#ifdef DEBUG