From 4e23699aa647fd9dc04933bf5582217ca594c8ce Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 5 Aug 2002 14:36:24 -0300 Subject: new implementation for error handling --- lvm.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'lvm.h') diff --git a/lvm.h b/lvm.h index 6b462e09..c1b2c312 100644 --- a/lvm.h +++ b/lvm.h @@ -1,5 +1,5 @@ /* -** $Id: lvm.h,v 1.43 2002/06/24 13:08:45 roberto Exp roberto $ +** $Id: lvm.h,v 1.44 2002/07/05 18:27:39 roberto Exp $ ** Lua virtual machine ** See Copyright Notice in lua.h */ @@ -22,6 +22,13 @@ (ttype(o1) == ttype(o2) && luaV_equalval(L, o1, o2)) +/* +** dummy addrees, to mark Lua functions calling other Lua functions (and +** therefore without a valid `pc' +*/ +extern Instruction const *luaV_callingmark; + + int luaV_lessthan (lua_State *L, const TObject *l, const TObject *r); int luaV_equalval (lua_State *L, const TObject *t1, const TObject *t2); const TObject *luaV_tonumber (const TObject *obj, TObject *n); -- cgit v1.2.3-55-g6feb