aboutsummaryrefslogtreecommitdiff
path: root/ltm.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1998-03-09 18:49:52 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1998-03-09 18:49:52 -0300
commit0969a971cd41921bd5ee72c1da880455bcca3bb4 (patch)
tree74be9a39706eeb1e7f4e5c2cf49693364c399790 /ltm.c
parentbe6d215f674f3d148d3f80a0553e8b2aa6da51d7 (diff)
downloadlua-0969a971cd41921bd5ee72c1da880455bcca3bb4.tar.gz
lua-0969a971cd41921bd5ee72c1da880455bcca3bb4.tar.bz2
lua-0969a971cd41921bd5ee72c1da880455bcca3bb4.zip
better use of "ASSERT".
Diffstat (limited to 'ltm.c')
-rw-r--r--ltm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltm.c b/ltm.c
index 3c788f41..af332f04 100644
--- a/ltm.c
+++ b/ltm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltm.c,v 1.12 1997/12/15 16:17:20 roberto Exp roberto $ 2** $Id: ltm.c,v 1.13 1998/01/02 17:46:32 roberto Exp roberto $
3** Tag methods 3** Tag methods
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -123,7 +123,7 @@ int luaT_efectivetag (TObject *o)
123#ifdef DEBUG 123#ifdef DEBUG
124 case LUA_T_PMARK: case LUA_T_CMARK: 124 case LUA_T_PMARK: case LUA_T_CMARK:
125 case LUA_T_CLMARK: case LUA_T_LINE: 125 case LUA_T_CLMARK: case LUA_T_LINE:
126 lua_error("internal error"); 126 LUA_INTERNALERROR("invalid type");
127#endif 127#endif
128 default: 128 default:
129 return t; 129 return t;