diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-06-19 14:46:12 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-06-19 14:46:12 -0300 |
commit | a38f093f0540bce0207bb2dc27f1779f41c6d48b (patch) | |
tree | 56312ef7e5a3704a55257e358f599a56914cdf39 /opcode.c | |
parent | b6adfdd01be0e436e9627a1d712ff8e0d53a244d (diff) | |
download | lua-a38f093f0540bce0207bb2dc27f1779f41c6d48b.tar.gz lua-a38f093f0540bce0207bb2dc27f1779f41c6d48b.tar.bz2 lua-a38f093f0540bce0207bb2dc27f1779f41c6d48b.zip |
luaI_initTFunc initializes fileName.
Diffstat (limited to 'opcode.c')
-rw-r--r-- | opcode.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -3,7 +3,7 @@ | |||
3 | ** TecCGraf - PUC-Rio | 3 | ** TecCGraf - PUC-Rio |
4 | */ | 4 | */ |
5 | 5 | ||
6 | char *rcs_opcode="$Id: opcode.c,v 4.10 1997/06/16 18:42:32 roberto Exp roberto $"; | 6 | char *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; |