diff options
Diffstat (limited to 'lobject.h')
| -rw-r--r-- | lobject.h | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lobject.h,v 1.70 2000/06/30 14:35:17 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 1.71 2000/08/07 20:21:34 roberto Exp roberto $ |
| 3 | ** Type definitions for Lua objects | 3 | ** Type definitions for Lua objects |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -119,7 +119,7 @@ typedef struct Proto { | |||
| 119 | Instruction *code; /* ends with opcode ENDCODE */ | 119 | Instruction *code; /* ends with opcode ENDCODE */ |
| 120 | struct Proto *next; | 120 | struct Proto *next; |
| 121 | int marked; | 121 | int marked; |
| 122 | int *lines; /* source line that generated each opcode */ | 122 | int *lineinfo; /* map from opcodes to source lines */ |
| 123 | int lineDefined; | 123 | int lineDefined; |
| 124 | TString *source; | 124 | TString *source; |
| 125 | int numparams; | 125 | int numparams; |
| @@ -180,6 +180,7 @@ typedef struct CallInfo { | |||
| 180 | const Instruction **pc; /* current pc of called function */ | 180 | const Instruction **pc; /* current pc of called function */ |
| 181 | int lastpc; /* last pc traced */ | 181 | int lastpc; /* last pc traced */ |
| 182 | int line; /* current line */ | 182 | int line; /* current line */ |
| 183 | int refi; /* current index in `lineinfo' */ | ||
| 183 | } CallInfo; | 184 | } CallInfo; |
| 184 | 185 | ||
| 185 | 186 | ||
