summaryrefslogtreecommitdiff
path: root/inout.c
diff options
context:
space:
mode:
Diffstat (limited to 'inout.c')
-rw-r--r--inout.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/inout.c b/inout.c
index a3100a4f..8ba4b6bb 100644
--- a/inout.c
+++ b/inout.c
@@ -5,7 +5,7 @@
5** Also provides some predefined lua functions. 5** Also provides some predefined lua functions.
6*/ 6*/
7 7
8char *rcs_inout="$Id: inout.c,v 2.28 1996/01/26 16:52:47 roberto Exp roberto $"; 8char *rcs_inout="$Id: inout.c,v 2.29 1996/02/07 14:13:47 roberto Exp roberto $";
9 9
10#include <stdio.h> 10#include <stdio.h>
11#include <stdlib.h> 11#include <stdlib.h>
@@ -68,7 +68,7 @@ int lua_openfile (char *fn)
68 if (fp == NULL) 68 if (fp == NULL)
69 return 1; 69 return 1;
70 lua_linenumber = 1; 70 lua_linenumber = 1;
71 lua_parsedfile = lua_constcreate(fn)->ts.str; 71 lua_parsedfile = lua_constcreate(fn)->str;
72 return 0; 72 return 0;
73} 73}
74 74
@@ -92,7 +92,7 @@ void lua_openstring (char *s)
92 lua_setinput (stringinput); 92 lua_setinput (stringinput);
93 st = s; 93 st = s;
94 lua_linenumber = 1; 94 lua_linenumber = 1;
95 lua_parsedfile = lua_constcreate("(string)")->ts.str; 95 lua_parsedfile = lua_constcreate("(string)")->str;
96} 96}
97 97
98/* 98/*