aboutsummaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-06-28 17:21:06 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-06-28 17:21:06 -0300
commit014a09c5095be3ef11366530e4630ee817a526a7 (patch)
tree1460ff0d01cd4adf8fac2609ca2ba90411babf2c /lobject.h
parentb62228297372c7b24b6661ac1bdd7df2e8ece64e (diff)
downloadlua-014a09c5095be3ef11366530e4630ee817a526a7.tar.gz
lua-014a09c5095be3ef11366530e4630ee817a526a7.tar.bz2
lua-014a09c5095be3ef11366530e4630ee817a526a7.zip
better error messages
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lobject.h b/lobject.h
index 2a61d138..01235ffa 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 1.67 2000/06/08 18:27:13 roberto Exp roberto $ 2** $Id: lobject.h,v 1.68 2000/06/26 19:28:31 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*/
@@ -122,7 +122,6 @@ typedef struct Proto {
122 int *lines; /* source line that generated each opcode */ 122 int *lines; /* source line that generated each opcode */
123 int lineDefined; 123 int lineDefined;
124 TString *source; 124 TString *source;
125 int debug; /* flag for debug information */
126 int numparams; 125 int numparams;
127 int is_vararg; 126 int is_vararg;
128 int maxstacksize; 127 int maxstacksize;
@@ -171,9 +170,10 @@ typedef struct Hash {
171** informations about a call (for debugging) 170** informations about a call (for debugging)
172*/ 171*/
173typedef struct CallInfo { 172typedef struct CallInfo {
174 int pc; /* current pc of called function */
175 int line; /* current line */
176 struct Closure *func; /* function being called */ 173 struct Closure *func; /* function being called */
174 const Instruction **pc; /* current pc of called function */
175 int lastpc; /* last pc traced */
176 int line; /* current line */
177} CallInfo; 177} CallInfo;
178 178
179 179