aboutsummaryrefslogtreecommitdiff
path: root/lua.stx
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-06-19 14:46:12 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-06-19 14:46:12 -0300
commita38f093f0540bce0207bb2dc27f1779f41c6d48b (patch)
tree56312ef7e5a3704a55257e358f599a56914cdf39 /lua.stx
parentb6adfdd01be0e436e9627a1d712ff8e0d53a244d (diff)
downloadlua-a38f093f0540bce0207bb2dc27f1779f41c6d48b.tar.gz
lua-a38f093f0540bce0207bb2dc27f1779f41c6d48b.tar.bz2
lua-a38f093f0540bce0207bb2dc27f1779f41c6d48b.zip
luaI_initTFunc initializes fileName.
Diffstat (limited to 'lua.stx')
-rw-r--r--lua.stx3
1 files changed, 1 insertions, 2 deletions
diff --git a/lua.stx b/lua.stx
index e9ddc33a..eb988675 100644
--- a/lua.stx
+++ b/lua.stx
@@ -1,6 +1,6 @@
1%{ 1%{
2 2
3char *rcs_luastx = "$Id: lua.stx,v 3.45 1997/03/06 17:30:55 roberto Exp roberto $"; 3char *rcs_luastx = "$Id: lua.stx,v 3.46 1997/03/31 14:19:01 roberto Exp roberto $";
4 4
5#include <stdio.h> 5#include <stdio.h>
6#include <stdlib.h> 6#include <stdlib.h>
@@ -489,7 +489,6 @@ body : '(' parlist ')' block END
489 luaI_initTFunc($$); 489 luaI_initTFunc($$);
490 $$->size = pc; 490 $$->size = pc;
491 $$->code = newvector(pc, Byte); 491 $$->code = newvector(pc, Byte);
492 $$->fileName = lua_parsedfile;
493 $$->lineDefined = $2; 492 $$->lineDefined = $2;
494 memcpy($$->code, basepc, pc*sizeof(Byte)); 493 memcpy($$->code, basepc, pc*sizeof(Byte));
495 if (lua_debug) 494 if (lua_debug)