better use of "ASSERT".

This commit is contained in:
Roberto Ierusalimschy
1998-03-09 18:49:52 -03:00
parent be6d215f67
commit 0969a971cd
9 changed files with 34 additions and 19 deletions

4
lvm.c
View File

@@ -1,5 +1,5 @@
/*
** $Id: lvm.c,v 1.23 1998/01/14 13:49:15 roberto Exp roberto $
** $Id: lvm.c,v 1.24 1998/03/06 16:54:42 roberto Exp roberto $
** Lua virtual machine
** See Copyright Notice in lua.h
*/
@@ -728,7 +728,7 @@ StkId luaV_execute (Closure *cl, TProtoFunc *tf, StkId base)
#ifdef DEBUG
default:
lua_error("internal error - opcode doesn't match");
LUA_INTERNALERROR("opcode doesn't match");
#endif
}
}