From 801aaf37b14a1fad5bb49c9a4200d25680152471 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 25 Mar 2002 14:47:14 -0300 Subject: simpler implementation for line information --- lstate.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index af56ee40..ee91e853 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 1.78 2002/03/07 18:11:51 roberto Exp roberto $ +** $Id: lstate.h,v 1.79 2002/03/11 12:45:00 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -91,16 +91,12 @@ typedef struct CallInfo { StkId top; /* top for this function (when it's a Lua function) */ const Instruction **pc; /* points to `pc' variable in `luaV_execute' */ StkId *pb; /* points to `base' variable in `luaV_execute' */ - /* extra information for line tracing */ int lastpc; /* last pc traced */ - int line; /* current line */ - int refi; /* current index in `lineinfo' */ + int yield_results; } CallInfo; #define ci_func(ci) (clvalue((ci)->base - 1)) -#define yield_results refi /* reuse this field */ - /* ** `global state', shared by all threads of this state -- cgit v1.2.3-55-g6feb