aboutsummaryrefslogtreecommitdiff
path: root/lobject.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-04-26 10:43:10 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-04-26 10:43:10 -0300
commit84790bb953a091eed06d260ef58e71987dda3dab (patch)
tree59face0130eb932c31685d0213c5b1ee11159b22 /lobject.c
parent534c3a64d3b47585b415f229aa03af35f9a4796e (diff)
downloadlua-84790bb953a091eed06d260ef58e71987dda3dab.tar.gz
lua-84790bb953a091eed06d260ef58e71987dda3dab.tar.bz2
lua-84790bb953a091eed06d260ef58e71987dda3dab.zip
"conceptual" bug
Diffstat (limited to 'lobject.c')
-rw-r--r--lobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lobject.c b/lobject.c
index 9d743fd4..e134c289 100644
--- a/lobject.c
+++ b/lobject.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.c,v 1.36 2000/03/31 16:28:45 roberto Exp roberto $ 2** $Id: lobject.c,v 1.37 2000/04/25 16:55:09 roberto Exp roberto $
3** Some generic functions over Lua objects 3** Some generic functions over Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -38,7 +38,7 @@ int luaO_equalObj (const TObject *t1, const TObject *t2) {
38 case TAG_NUMBER: 38 case TAG_NUMBER:
39 return nvalue(t1) == nvalue(t2); 39 return nvalue(t1) == nvalue(t2);
40 case TAG_STRING: case TAG_USERDATA: 40 case TAG_STRING: case TAG_USERDATA:
41 return svalue(t1) == svalue(t2); 41 return tsvalue(t1) == tsvalue(t2);
42 case TAG_TABLE: 42 case TAG_TABLE:
43 return avalue(t1) == avalue(t2); 43 return avalue(t1) == avalue(t2);
44 case TAG_CCLOSURE: case TAG_LCLOSURE: 44 case TAG_CCLOSURE: case TAG_LCLOSURE: