aboutsummaryrefslogtreecommitdiff
path: root/opcode.c
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 /opcode.c
parentb6adfdd01be0e436e9627a1d712ff8e0d53a244d (diff)
downloadlua-a38f093f0540bce0207bb2dc27f1779f41c6d48b.tar.gz
lua-a38f093f0540bce0207bb2dc27f1779f41c6d48b.tar.bz2
lua-a38f093f0540bce0207bb2dc27f1779f41c6d48b.zip
luaI_initTFunc initializes fileName.
Diffstat (limited to 'opcode.c')
-rw-r--r--opcode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/opcode.c b/opcode.c
index 8df64cae..d373dcec 100644
--- a/opcode.c
+++ b/opcode.c
@@ -3,7 +3,7 @@
3** TecCGraf - PUC-Rio 3** TecCGraf - PUC-Rio
4*/ 4*/
5 5
6char *rcs_opcode="$Id: opcode.c,v 4.10 1997/06/16 18:42:32 roberto Exp roberto $"; 6char *rcs_opcode="$Id: opcode.c,v 4.11 1997/06/16 19:48:18 roberto Exp roberto $";
7 7
8#include <setjmp.h> 8#include <setjmp.h>
9#include <stdio.h> 9#include <stdio.h>
@@ -604,7 +604,6 @@ int lua_domain (void)
604 jmp_buf *oldErr = errorJmp; 604 jmp_buf *oldErr = errorJmp;
605 errorJmp = &myErrorJmp; 605 errorJmp = &myErrorJmp;
606 luaI_initTFunc(&tf); 606 luaI_initTFunc(&tf);
607 tf.fileName = lua_parsedfile;
608 if (setjmp(myErrorJmp) == 0) { 607 if (setjmp(myErrorJmp) == 0) {
609 lua_parse(&tf); 608 lua_parse(&tf);
610 status = 0; 609 status = 0;