diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-08-11 13:17:28 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-08-11 13:17:28 -0300 |
commit | 9e84bf18db779bea66947c1ca08db9bf8dc593c8 (patch) | |
tree | a476a4da5458de99679c3ca09fbd4e42da2d8360 /lvm.c | |
parent | daf09c476fe375d8a9a47bc1294a1cd430290226 (diff) | |
download | lua-9e84bf18db779bea66947c1ca08db9bf8dc593c8.tar.gz lua-9e84bf18db779bea66947c1ca08db9bf8dc593c8.tar.bz2 lua-9e84bf18db779bea66947c1ca08db9bf8dc593c8.zip |
still more debug information
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.124 2000/08/09 19:16:57 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 1.125 2000/08/10 19:50:47 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 | */ |
@@ -279,7 +279,7 @@ int luaV_lessthan (lua_State *L, const TObject *l, const TObject *r, StkId top) | |||
279 | *top++ = *l; | 279 | *top++ = *l; |
280 | *top++ = *r; | 280 | *top++ = *r; |
281 | if (!call_binTM(L, top, IM_LT)) | 281 | if (!call_binTM(L, top, IM_LT)) |
282 | lua_error(L, "unexpected type in comparison"); | 282 | luaG_ordererror(L, top-2); |
283 | L->top--; | 283 | L->top--; |
284 | return (ttype(L->top) != TAG_NIL); | 284 | return (ttype(L->top) != TAG_NIL); |
285 | } | 285 | } |