diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-03-09 18:49:52 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-03-09 18:49:52 -0300 |
commit | 0969a971cd41921bd5ee72c1da880455bcca3bb4 (patch) | |
tree | 74be9a39706eeb1e7f4e5c2cf49693364c399790 /lvm.c | |
parent | be6d215f674f3d148d3f80a0553e8b2aa6da51d7 (diff) | |
download | lua-0969a971cd41921bd5ee72c1da880455bcca3bb4.tar.gz lua-0969a971cd41921bd5ee72c1da880455bcca3bb4.tar.bz2 lua-0969a971cd41921bd5ee72c1da880455bcca3bb4.zip |
better use of "ASSERT".
Diffstat (limited to 'lvm.c')
-rw-r--r-- | lvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lvm.c,v 1.23 1998/01/14 13:49:15 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 1.24 1998/03/06 16:54:42 roberto Exp roberto $ |
3 | ** Lua virtual machine | 3 | ** Lua virtual machine |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -728,7 +728,7 @@ StkId luaV_execute (Closure *cl, TProtoFunc *tf, StkId base) | |||
728 | 728 | ||
729 | #ifdef DEBUG | 729 | #ifdef DEBUG |
730 | default: | 730 | default: |
731 | lua_error("internal error - opcode doesn't match"); | 731 | LUA_INTERNALERROR("opcode doesn't match"); |
732 | #endif | 732 | #endif |
733 | } | 733 | } |
734 | } | 734 | } |