diff options
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 | } |
