aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-10-24 17:19:15 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-10-24 17:19:15 -0200
commitaadc35449ec2752c298a7a8fa6359a3a12c538ee (patch)
tree3b7328e9e0b563852c54271746e6ce330c5cba81 /lapi.c
parentcdc8139e295a768ac581e0a7c784c1adfee0668b (diff)
downloadlua-aadc35449ec2752c298a7a8fa6359a3a12c538ee.tar.gz
lua-aadc35449ec2752c298a7a8fa6359a3a12c538ee.tar.bz2
lua-aadc35449ec2752c298a7a8fa6359a3a12c538ee.zip
lua_settag does not pop its argument
Diffstat (limited to 'lapi.c')
-rw-r--r--lapi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lapi.c b/lapi.c
index c2a22774..f0c64191 100644
--- a/lapi.c
+++ b/lapi.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lapi.c,v 1.106 2000/10/06 19:29:26 roberto Exp roberto $ 2** $Id: lapi.c,v 1.107 2000/10/20 16:39:03 roberto Exp roberto $
3** Lua API 3** Lua API
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -433,7 +433,6 @@ LUA_API void lua_settag (lua_State *L, int tag) {
433 luaO_verror(L, "cannot change the tag of a %.20s", 433 luaO_verror(L, "cannot change the tag of a %.20s",
434 luaO_typename(L->top-1)); 434 luaO_typename(L->top-1));
435 } 435 }
436 L->top--;
437} 436}
438 437
439 438