tags can be positive values

This commit is contained in:
Roberto Ierusalimschy
2000-03-20 16:14:54 -03:00
parent 6759299880
commit bb9605bbc9
5 changed files with 54 additions and 64 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: ldebug.c,v 1.10 2000/03/03 14:58:26 roberto Exp roberto $
** $Id: ldebug.c,v 1.11 2000/03/10 18:37:44 roberto Exp roberto $
** Debug Interface
** See Copyright Notice in lua.h
*/
@@ -33,7 +33,7 @@ static const lua_Type normtype[] = { /* ORDER LUA_T */
static void setnormalized (TObject *d, const TObject *s) {
d->value = s->value;
d->ttype = normtype[-ttype(s)];
d->ttype = normtype[ttype(s)];
}