aboutsummaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-12-09 11:50:08 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-12-09 11:50:08 -0200
commit80b3d28f4a9e518bf40b35f786199919180bfcd4 (patch)
treee25a410ba61883244207e25b16a853991b417ebb /lvm.c
parent69d97712ecfcd06aa4edb7374b262131210d0bbc (diff)
downloadlua-80b3d28f4a9e518bf40b35f786199919180bfcd4.tar.gz
lua-80b3d28f4a9e518bf40b35f786199919180bfcd4.tar.bz2
lua-80b3d28f4a9e518bf40b35f786199919180bfcd4.zip
details (mainly error messages)
Diffstat (limited to 'lvm.c')
-rw-r--r--lvm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lvm.c b/lvm.c
index 0b6f68fa..bb3d9d8c 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 1.14 1997/11/19 17:29:23 roberto Exp roberto $ 2** $Id: lvm.c,v 1.15 1997/11/21 19:00:46 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*/
@@ -213,7 +213,7 @@ static void call_binTM (IMS event, char *msg)
213 213
214static void call_arith (IMS event) 214static void call_arith (IMS event)
215{ 215{
216 call_binTM(event, "unexpected type at arithmetic operation"); 216 call_binTM(event, "unexpected type in arithmetic operation");
217} 217}
218 218
219 219
@@ -229,7 +229,7 @@ static void comparison (lua_Type ttype_less, lua_Type ttype_equal,
229 else if (ttype(l) == LUA_T_STRING && ttype(r) == LUA_T_STRING) 229 else if (ttype(l) == LUA_T_STRING && ttype(r) == LUA_T_STRING)
230 result = strcoll(svalue(l), svalue(r)); 230 result = strcoll(svalue(l), svalue(r));
231 else { 231 else {
232 call_binTM(op, "unexpected type at comparison"); 232 call_binTM(op, "unexpected type in comparison");
233 return; 233 return;
234 } 234 }
235 S->top--; 235 S->top--;