From 014a09c5095be3ef11366530e4630ee817a526a7 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 28 Jun 2000 17:21:06 -0300 Subject: better error messages --- lobject.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lobject.h') diff --git a/lobject.h b/lobject.h index 2a61d138..01235ffa 100644 --- a/lobject.h +++ b/lobject.h @@ -1,5 +1,5 @@ /* -** $Id: lobject.h,v 1.67 2000/06/08 18:27:13 roberto Exp roberto $ +** $Id: lobject.h,v 1.68 2000/06/26 19:28:31 roberto Exp roberto $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ @@ -122,7 +122,6 @@ typedef struct Proto { int *lines; /* source line that generated each opcode */ int lineDefined; TString *source; - int debug; /* flag for debug information */ int numparams; int is_vararg; int maxstacksize; @@ -171,9 +170,10 @@ typedef struct Hash { ** informations about a call (for debugging) */ typedef struct CallInfo { - int pc; /* current pc of called function */ - int line; /* current line */ struct Closure *func; /* function being called */ + const Instruction **pc; /* current pc of called function */ + int lastpc; /* last pc traced */ + int line; /* current line */ } CallInfo; -- cgit v1.2.3-55-g6feb