1
0
mirror of https://github.com/lua/lua.git synced 2025-01-28 06:03:00 +08:00

better error message when '^' is not defined.

This commit is contained in:
Roberto Ierusalimschy 1998-05-31 19:18:24 -03:00
parent 74719afc33
commit 62c36a6056

4
lvm.c
View File

@ -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 ** Lua virtual machine
** See Copyright Notice in lua.h ** See Copyright Notice in lua.h
*/ */
@ -592,7 +592,7 @@ StkId luaV_execute (Closure *cl, TProtoFunc *tf, StkId base)
} }
case POWOP: case POWOP:
call_arith(IM_POW); call_binTM(IM_POW, "undefined operation");
break; break;
case CONCOP: { case CONCOP: {