summaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-03-23 14:51:11 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-03-23 14:51:11 -0300
commit03fb3c39d4f3a60367558ee357cbb9a26f01bc2b (patch)
tree7d97354b986911d670fbbb172f64b799a626f242 /ltests.c
parent8af1ca02e00e1b35254fadd583b626bfc8c27dd8 (diff)
downloadlua-03fb3c39d4f3a60367558ee357cbb9a26f01bc2b.tar.gz
lua-03fb3c39d4f3a60367558ee357cbb9a26f01bc2b.tar.bz2
lua-03fb3c39d4f3a60367558ee357cbb9a26f01bc2b.zip
change `#ifdef' for `#if defined'
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ltests.c b/ltests.c
index 717e0c5e..4e12a493 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 2.20 2005/02/18 12:40:02 roberto Exp roberto $ 2** $Id: ltests.c,v 2.21 2005/03/16 16:58:41 roberto Exp roberto $
3** Internal Module for Debugging of the Lua Implementation 3** Internal Module for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -34,7 +34,7 @@
34/* 34/*
35** The whole module only makes sense with LUA_DEBUG on 35** The whole module only makes sense with LUA_DEBUG on
36*/ 36*/
37#ifdef LUA_DEBUG 37#if defined(LUA_DEBUG)
38 38
39 39
40int Trick = 0; 40int Trick = 0;
@@ -979,7 +979,7 @@ static int testC (lua_State *L) {
979 } 979 }
980#endif 980#endif
981 else if EQ("throw") { 981 else if EQ("throw") {
982#ifdef __cplusplus 982#if defined(__cplusplus)
983static struct X { int x; } x; 983static struct X { int x; } x;
984 throw x; 984 throw x;
985#else 985#else