diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-11-18 12:27:42 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-11-18 12:27:42 -0200 |
commit | dbfe28e1995d6ecd73b5048e71d72c7e1e7d5462 (patch) | |
tree | ff9e2bbce7dd06851c50098d76a3966c60cbb725 | |
parent | d59c52753fd213f27021411a1e79c15fb4e3a979 (diff) | |
download | lua-2.5.tar.gz lua-2.5.tar.bz2 lua-2.5.zip |
correction in inheritance code in Cv2.5
-rw-r--r-- | manual.tex | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | % $Id: manual.tex,v 1.23 1996/11/12 16:00:16 roberto Exp $ | 1 | % $Id: manual.tex,v 1.24 1996/11/14 17:45:37 roberto Exp roberto $ |
2 | 2 | ||
3 | \documentstyle[fullpage,11pt,bnf]{article} | 3 | \documentstyle[fullpage,11pt,bnf]{article} |
4 | 4 | ||
@@ -35,7 +35,7 @@ Waldemar Celes | |||
35 | \tecgraf\ --- Departamento de Inform\'atica --- PUC-Rio | 35 | \tecgraf\ --- Departamento de Inform\'atica --- PUC-Rio |
36 | } | 36 | } |
37 | 37 | ||
38 | \date{\small \verb$Date: 1996/11/12 16:00:16 $} | 38 | \date{\small \verb$Date: 1996/11/14 17:45:37 $} |
39 | 39 | ||
40 | \maketitle | 40 | \maketitle |
41 | 41 | ||
@@ -1987,6 +1987,8 @@ void callOldFallback (lua_Object table, lua_Object index) | |||
1987 | lua_pushobject(table); | 1987 | lua_pushobject(table); |
1988 | lua_pushobject(index); | 1988 | lua_pushobject(index); |
1989 | lua_callfunction(oldIndex); | 1989 | lua_callfunction(oldIndex); |
1990 | if (lua_getresult(1) != LUA_NOOBJECT) | ||
1991 | lua_pushobject(lua_getresult(1)); /* return result */ | ||
1990 | } | 1992 | } |
1991 | 1993 | ||
1992 | void Index (void) | 1994 | void Index (void) |