lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 62c36a6056537c2ac10de8f54b56a9a9740860b6
parent 74719afc333a70dae37aa6014ee1bd50ec8aa895
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Sun, 31 May 1998 19:18:03 -0300

better error message when '^' is not defined.

Diffstat:
Mlvm.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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: {