diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-05-02 10:06:20 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-05-02 10:06:20 -0300 |
commit | 9a0f0dcc77adbde0618af1f10e5d430f42b76cc2 (patch) | |
tree | 04162ec7fc538fc3054ffa7fb4c5e0181c3f3571 /ldebug.h | |
parent | 751cd867d3e0338279fa6f3390c8b7ddc0108659 (diff) | |
download | lua-9a0f0dcc77adbde0618af1f10e5d430f42b76cc2.tar.gz lua-9a0f0dcc77adbde0618af1f10e5d430f42b76cc2.tar.bz2 lua-9a0f0dcc77adbde0618af1f10e5d430f42b76cc2.zip |
precompiler may create functions without `lineinfo'
Diffstat (limited to 'ldebug.h')
-rw-r--r-- | ldebug.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldebug.h,v 1.18 2002/03/25 17:47:14 roberto Exp roberto $ | 2 | ** $Id: ldebug.h,v 1.19 2002/04/10 12:11:07 roberto Exp roberto $ |
3 | ** Auxiliary functions from Debug Interface module | 3 | ** Auxiliary functions from Debug Interface module |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -14,6 +14,8 @@ | |||
14 | 14 | ||
15 | #define pcRel(pc, p) (cast(int, (pc) - (p)->code) - 1) | 15 | #define pcRel(pc, p) (cast(int, (pc) - (p)->code) - 1) |
16 | 16 | ||
17 | #define getline(f,pc) (((f)->lineinfo) ? (f)->lineinfo[pc] : 0) | ||
18 | |||
17 | void luaG_typeerror (lua_State *L, const TObject *o, const char *opname); | 19 | void luaG_typeerror (lua_State *L, const TObject *o, const char *opname); |
18 | void luaG_concaterror (lua_State *L, StkId p1, StkId p2); | 20 | void luaG_concaterror (lua_State *L, StkId p1, StkId p2); |
19 | void luaG_aritherror (lua_State *L, StkId p1, const TObject *p2); | 21 | void luaG_aritherror (lua_State *L, StkId p1, const TObject *p2); |