diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-02-25 11:31:16 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-02-25 11:31:16 -0300 |
| commit | fed236ca7fa066a51aae352968c5a916175b3716 (patch) | |
| tree | 983dccbd723c21ec703c0417f4fc56890206bd36 | |
| parent | 295f7ac04e68ebd49908d9a188488e7b44912585 (diff) | |
| download | lua-fed236ca7fa066a51aae352968c5a916175b3716.tar.gz lua-fed236ca7fa066a51aae352968c5a916175b3716.tar.bz2 lua-fed236ca7fa066a51aae352968c5a916175b3716.zip | |
detail (unknown lines are marked as -1, not 0)
| -rw-r--r-- | ldebug.h | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ldebug.h,v 2.9 2013/04/29 16:58:10 roberto Exp roberto $ | 2 | ** $Id: ldebug.h,v 2.10 2013/05/06 17:19:11 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 | */ |
| @@ -13,7 +13,7 @@ | |||
| 13 | 13 | ||
| 14 | #define pcRel(pc, p) (cast(int, (pc) - (p)->code) - 1) | 14 | #define pcRel(pc, p) (cast(int, (pc) - (p)->code) - 1) |
| 15 | 15 | ||
| 16 | #define getfuncline(f,pc) (((f)->lineinfo) ? (f)->lineinfo[pc] : 0) | 16 | #define getfuncline(f,pc) (((f)->lineinfo) ? (f)->lineinfo[pc] : -1) |
| 17 | 17 | ||
| 18 | #define resethookcount(L) (L->hookcount = L->basehookcount) | 18 | #define resethookcount(L) (L->hookcount = L->basehookcount) |
| 19 | 19 | ||
