aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1998-05-31 19:18:24 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1998-05-31 19:18:24 -0300
commit62c36a6056537c2ac10de8f54b56a9a9740860b6 (patch)
tree5a5a0ded6149618fb33806f519a056b4471e244a
parent74719afc333a70dae37aa6014ee1bd50ec8aa895 (diff)
downloadlua-62c36a6056537c2ac10de8f54b56a9a9740860b6.tar.gz
lua-62c36a6056537c2ac10de8f54b56a9a9740860b6.tar.bz2
lua-62c36a6056537c2ac10de8f54b56a9a9740860b6.zip
better error message when '^' is not defined.
-rw-r--r--lvm.c4
1 files 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 @@
1/* 1/*
2** $Id: lvm.c,v 1.27 1998/03/25 18:52:29 roberto Exp roberto $ 2** $Id: lvm.c,v 1.28 1998/03/30 13:57:23 roberto Exp roberto $
3** Lua virtual machine 3** Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -592,7 +592,7 @@ StkId luaV_execute (Closure *cl, TProtoFunc *tf, StkId base)
592 } 592 }
593 593
594 case POWOP: 594 case POWOP:
595 call_arith(IM_POW); 595 call_binTM(IM_POW, "undefined operation");
596 break; 596 break;
597 597
598 case CONCOP: { 598 case CONCOP: {