summaryrefslogtreecommitdiff
path: root/ltm.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltm.c')
-rw-r--r--ltm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ltm.c b/ltm.c
index 3d59b9a0..a1ed11dc 100644
--- a/ltm.c
+++ b/ltm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltm.c,v 1.46 2000/08/09 19:16:57 roberto Exp roberto $ 2** $Id: ltm.c,v 1.47 2000/09/05 19:33:32 roberto Exp roberto $
3** Tag methods 3** Tag methods
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -11,6 +11,7 @@
11#include "lua.h" 11#include "lua.h"
12 12
13#include "lauxlib.h" 13#include "lauxlib.h"
14#include "ldo.h"
14#include "lmem.h" 15#include "lmem.h"
15#include "lobject.h" 16#include "lobject.h"
16#include "lstate.h" 17#include "lstate.h"
@@ -127,7 +128,7 @@ void lua_gettagmethod (lua_State *L, int t, const char *event) {
127 *L->top = *luaT_getim(L, t,e); 128 *L->top = *luaT_getim(L, t,e);
128 else 129 else
129 ttype(L->top) = TAG_NIL; 130 ttype(L->top) = TAG_NIL;
130 L->top++; 131 incr_top;
131} 132}
132 133
133 134