mirror of
https://github.com/lua/lua
synced 2026-09-29 04:35:58 +03:00
luaI_initTFunc initializes fileName.
This commit is contained in:
parent
b6adfdd01b
commit
a38f093f05
3 changed files with 4 additions and 5 deletions
3
opcode.c
3
opcode.c
|
|
@ -3,7 +3,7 @@
|
|||
** TecCGraf - PUC-Rio
|
||||
*/
|
||||
|
||||
char *rcs_opcode="$Id: opcode.c,v 4.10 1997/06/16 18:42:32 roberto Exp roberto $";
|
||||
char *rcs_opcode="$Id: opcode.c,v 4.11 1997/06/16 19:48:18 roberto Exp roberto $";
|
||||
|
||||
#include <setjmp.h>
|
||||
#include <stdio.h>
|
||||
|
|
@ -604,7 +604,6 @@ int lua_domain (void)
|
|||
jmp_buf *oldErr = errorJmp;
|
||||
errorJmp = &myErrorJmp;
|
||||
luaI_initTFunc(&tf);
|
||||
tf.fileName = lua_parsedfile;
|
||||
if (setjmp(myErrorJmp) == 0) {
|
||||
lua_parse(&tf);
|
||||
status = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue