line trace uses savedpc' to save last pc' seen

This commit is contained in:
Roberto Ierusalimschy
2002-04-10 09:11:07 -03:00
parent 8e1e618606
commit 6c7334a9ac
4 changed files with 18 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: ldebug.h,v 1.17 2002/03/19 12:45:25 roberto Exp roberto $
** $Id: ldebug.h,v 1.18 2002/03/25 17:47:14 roberto Exp roberto $
** Auxiliary functions from Debug Interface module
** See Copyright Notice in lua.h
*/
@@ -12,6 +12,8 @@
#include "luadebug.h"
#define pcRel(pc, p) (cast(int, (pc) - (p)->code) - 1)
void luaG_typeerror (lua_State *L, const TObject *o, const char *opname);
void luaG_concaterror (lua_State *L, StkId p1, StkId p2);
void luaG_aritherror (lua_State *L, StkId p1, const TObject *p2);