summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1996-11-18 12:27:42 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1996-11-18 12:27:42 -0200
commitdbfe28e1995d6ecd73b5048e71d72c7e1e7d5462 (patch)
treeff9e2bbce7dd06851c50098d76a3966c60cbb725
parentd59c52753fd213f27021411a1e79c15fb4e3a979 (diff)
downloadlua-github-2_5.tar.gz
correction in inheritance code in Cv2_5v2.5
-rw-r--r--manual.tex6
1 files changed, 4 insertions, 2 deletions
diff --git a/manual.tex b/manual.tex
index f3076b96..6d52cb7e 100644
--- a/manual.tex
+++ b/manual.tex
@@ -1,4 +1,4 @@
-% $Id: manual.tex,v 1.23 1996/11/12 16:00:16 roberto Exp $
+% $Id: manual.tex,v 1.24 1996/11/14 17:45:37 roberto Exp roberto $
\documentstyle[fullpage,11pt,bnf]{article}
@@ -35,7 +35,7 @@ Waldemar Celes
\tecgraf\ --- Departamento de Inform\'atica --- PUC-Rio
}
-\date{\small \verb$Date: 1996/11/12 16:00:16 $}
+\date{\small \verb$Date: 1996/11/14 17:45:37 $}
\maketitle
@@ -1987,6 +1987,8 @@ void callOldFallback (lua_Object table, lua_Object index)
lua_pushobject(table);
lua_pushobject(index);
lua_callfunction(oldIndex);
+ if (lua_getresult(1) != LUA_NOOBJECT)
+ lua_pushobject(lua_getresult(1)); /* return result */
}
void Index (void)