aboutsummaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2008-07-03 11:24:11 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2008-07-03 11:24:11 -0300
commit4d8a1103d3a066b9e97b22b33837d002845c222f (patch)
tree161975311be9162e4691c8e0abea1792e5a48b8d /ldebug.c
parent202de59254b12e32fb0da2e039787b9581e56161 (diff)
downloadlua-4d8a1103d3a066b9e97b22b33837d002845c222f.tar.gz
lua-4d8a1103d3a066b9e97b22b33837d002845c222f.tar.bz2
lua-4d8a1103d3a066b9e97b22b33837d002845c222f.zip
useless #define removed (pointed by lint)
Diffstat (limited to 'ldebug.c')
-rw-r--r--ldebug.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ldebug.c b/ldebug.c
index e67547d3..9455a937 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 2.38 2008/04/02 16:16:06 roberto Exp roberto $ 2** $Id: ldebug.c,v 2.39 2008/04/02 19:14:16 roberto Exp roberto $
3** Debug Interface 3** Debug Interface
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -272,8 +272,6 @@ LUA_API int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar) {
272 272
273#define check(x) if (!(x)) return 0; 273#define check(x) if (!(x)) return 0;
274 274
275#define checkjump(pt,pc) check(0 <= pc && pc < pt->sizecode)
276
277#define checkreg(pt,reg) check((reg) < (pt)->maxstacksize) 275#define checkreg(pt,reg) check((reg) < (pt)->maxstacksize)
278 276
279 277
@@ -459,7 +457,6 @@ static Instruction symbexec (const Proto *pt, int lastpc, int reg) {
459} 457}
460 458
461#undef check 459#undef check
462#undef checkjump
463#undef checkreg 460#undef checkreg
464 461
465/* }====================================================== */ 462/* }====================================================== */