aboutsummaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-03-20 16:14:54 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-03-20 16:14:54 -0300
commitbb9605bbc954d53b7d5997c53fceafe4450a6917 (patch)
treef62d6f64623221e2ba807aa080b84f2572640975 /ldebug.c
parent67592998809bf5816e2256409b384a712270c7b2 (diff)
downloadlua-bb9605bbc954d53b7d5997c53fceafe4450a6917.tar.gz
lua-bb9605bbc954d53b7d5997c53fceafe4450a6917.tar.bz2
lua-bb9605bbc954d53b7d5997c53fceafe4450a6917.zip
tags can be positive values
Diffstat (limited to 'ldebug.c')
-rw-r--r--ldebug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldebug.c b/ldebug.c
index 1353dfc7..d96a373b 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 1.10 2000/03/03 14:58:26 roberto Exp roberto $ 2** $Id: ldebug.c,v 1.11 2000/03/10 18:37:44 roberto Exp roberto $
3** Debug Interface 3** Debug Interface
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -33,7 +33,7 @@ static const lua_Type normtype[] = { /* ORDER LUA_T */
33 33
34static void setnormalized (TObject *d, const TObject *s) { 34static void setnormalized (TObject *d, const TObject *s) {
35 d->value = s->value; 35 d->value = s->value;
36 d->ttype = normtype[-ttype(s)]; 36 d->ttype = normtype[ttype(s)];
37} 37}
38 38
39 39