From eeab473fc8fdce39c3a0a495a6a790d7906c7bdc Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 12 Jun 2002 11:56:22 -0300 Subject: new fallback __le (less equal), for partial order --- ltm.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ltm.c') diff --git a/ltm.c b/ltm.c index 54762902..6b28ea63 100644 --- a/ltm.c +++ b/ltm.c @@ -1,5 +1,5 @@ /* -** $Id: ltm.c,v 1.92 2002/05/27 20:35:40 roberto Exp roberto $ +** $Id: ltm.c,v 1.93 2002/06/03 14:09:57 roberto Exp roberto $ ** Tag methods ** See Copyright Notice in lua.h */ @@ -28,8 +28,8 @@ void luaT_init (lua_State *L) { "__gettable", "__settable", "__index", "__newindex", "__gc", "__weakmode", "__add", "__sub", "__mul", "__div", - "__pow", "__unm", "__lt", "__concat", - "__call" + "__pow", "__unm", "__lt", "__le", + "__concat", "__call" }; int i; for (i=0; iflags |= (1u<