diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-03-04 18:23:39 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-03-04 18:23:39 -0300 |
commit | 5a8bb00df443dfdb5708689f32c64e90f2557bf8 (patch) | |
tree | f0328ef79978ce9bd8ceb63fdef2299b74c87490 /lundump.c | |
parent | 677188de8aa0c4ed49a3db570f0c9ee7cd641ddc (diff) | |
download | lua-5a8bb00df443dfdb5708689f32c64e90f2557bf8.tar.gz lua-5a8bb00df443dfdb5708689f32c64e90f2557bf8.tar.bz2 lua-5a8bb00df443dfdb5708689f32c64e90f2557bf8.zip |
storing chunk "sources" instead of "filenames".
Diffstat (limited to 'lundump.c')
-rw-r--r-- | lundump.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lundump.c,v 1.5 1998/12/15 14:59:43 roberto Exp $ | 2 | ** $Id: lundump.c,v 1.6 1998/12/27 20:23:22 roberto Exp roberto $ |
3 | ** load bytecodes from files | 3 | ** load bytecodes from files |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -161,7 +161,7 @@ static TProtoFunc* LoadFunction (ZIO* Z) | |||
161 | { | 161 | { |
162 | TProtoFunc* tf=luaF_newproto(); | 162 | TProtoFunc* tf=luaF_newproto(); |
163 | tf->lineDefined=LoadWord(Z); | 163 | tf->lineDefined=LoadWord(Z); |
164 | tf->fileName=LoadTString(Z); | 164 | tf->source=LoadTString(Z); |
165 | tf->code=LoadCode(Z); | 165 | tf->code=LoadCode(Z); |
166 | LoadLocals(tf,Z); | 166 | LoadLocals(tf,Z); |
167 | LoadConstants(tf,Z); | 167 | LoadConstants(tf,Z); |