diff options
-rw-r--r-- | liolib.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: liolib.c,v 2.57 2004/08/13 19:52:13 roberto Exp roberto $ | 2 | ** $Id: liolib.c,v 2.58 2005/02/18 12:40:02 roberto Exp roberto $ |
3 | ** Standard I/O (and system) library | 3 | ** Standard I/O (and system) library |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -191,9 +191,9 @@ static int io_output (lua_State *L) { | |||
191 | static int io_readline (lua_State *L); | 191 | static int io_readline (lua_State *L); |
192 | 192 | ||
193 | 193 | ||
194 | static void aux_lines (lua_State *L, int idx, int close) { | 194 | static void aux_lines (lua_State *L, int idx, int toclose) { |
195 | lua_pushvalue(L, idx); | 195 | lua_pushvalue(L, idx); |
196 | lua_pushboolean(L, close); /* close/not close file when finished */ | 196 | lua_pushboolean(L, toclose); /* close/not close file when finished */ |
197 | lua_pushcclosure(L, io_readline, 2); | 197 | lua_pushcclosure(L, io_readline, 2); |
198 | } | 198 | } |
199 | 199 | ||