From 9e84bf18db779bea66947c1ca08db9bf8dc593c8 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 11 Aug 2000 13:17:28 -0300 Subject: still more debug information --- lvm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lvm.c') diff --git a/lvm.c b/lvm.c index 3152a74c..e4fee4ed 100644 --- a/lvm.c +++ b/lvm.c @@ -1,5 +1,5 @@ /* -** $Id: lvm.c,v 1.124 2000/08/09 19:16:57 roberto Exp roberto $ +** $Id: lvm.c,v 1.125 2000/08/10 19:50:47 roberto Exp roberto $ ** Lua virtual machine ** See Copyright Notice in lua.h */ @@ -279,7 +279,7 @@ int luaV_lessthan (lua_State *L, const TObject *l, const TObject *r, StkId top) *top++ = *l; *top++ = *r; if (!call_binTM(L, top, IM_LT)) - lua_error(L, "unexpected type in comparison"); + luaG_ordererror(L, top-2); L->top--; return (ttype(L->top) != TAG_NIL); } -- cgit v1.2.3-55-g6feb