diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-06-28 11:57:17 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-06-28 11:57:17 -0300 |
commit | 770954510fd04912b2d84db0bd68dac62eaa5c5a (patch) | |
tree | 87344ef83c11905af034e969b224103edff97796 /lgc.c | |
parent | b346834a09c086affce6308c7917a8f6af310d11 (diff) | |
download | lua-770954510fd04912b2d84db0bd68dac62eaa5c5a.tar.gz lua-770954510fd04912b2d84db0bd68dac62eaa5c5a.tar.bz2 lua-770954510fd04912b2d84db0bd68dac62eaa5c5a.zip |
rename of `kproto' to `p'
Diffstat (limited to 'lgc.c')
-rw-r--r-- | lgc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lgc.c,v 1.107 2001/06/21 16:41:34 roberto Exp roberto $ | 2 | ** $Id: lgc.c,v 1.108 2001/06/26 13:20:45 roberto Exp roberto $ |
3 | ** Garbage Collector | 3 | ** Garbage Collector |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -40,8 +40,8 @@ static void protomark (Proto *f) { | |||
40 | if (ttype(f->k+i) == LUA_TSTRING) | 40 | if (ttype(f->k+i) == LUA_TSTRING) |
41 | strmark(tsvalue(f->k+i)); | 41 | strmark(tsvalue(f->k+i)); |
42 | } | 42 | } |
43 | for (i=0; i<f->sizekproto; i++) | 43 | for (i=0; i<f->sizep; i++) |
44 | protomark(f->kproto[i]); | 44 | protomark(f->p[i]); |
45 | for (i=0; i<f->sizelocvars; i++) /* mark local-variable names */ | 45 | for (i=0; i<f->sizelocvars; i++) /* mark local-variable names */ |
46 | strmark(f->locvars[i].varname); | 46 | strmark(f->locvars[i].varname); |
47 | } | 47 | } |