From 62c36a6056537c2ac10de8f54b56a9a9740860b6 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Sun, 31 May 1998 19:18:24 -0300 Subject: better error message when '^' is not defined. --- lvm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lvm.c b/lvm.c index 42d29ac7..e4fc34c6 100644 --- a/lvm.c +++ b/lvm.c @@ -1,5 +1,5 @@ /* -** $Id: lvm.c,v 1.27 1998/03/25 18:52:29 roberto Exp roberto $ +** $Id: lvm.c,v 1.28 1998/03/30 13:57:23 roberto Exp roberto $ ** Lua virtual machine ** See Copyright Notice in lua.h */ @@ -592,7 +592,7 @@ StkId luaV_execute (Closure *cl, TProtoFunc *tf, StkId base) } case POWOP: - call_arith(IM_POW); + call_binTM(IM_POW, "undefined operation"); break; case CONCOP: { -- cgit v1.2.3-55-g6feb