diff options
Diffstat (limited to 'liolib.c')
-rw-r--r-- | liolib.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: liolib.c,v 2.58 2005/02/18 12:40:02 roberto Exp roberto $ | 2 | ** $Id: liolib.c,v 2.59 2005/03/18 18:01:14 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 | */ |
@@ -319,8 +319,6 @@ static int g_read (lua_State *L, FILE *f, int first) { | |||
319 | read_chars(L, f, ~((size_t)0)); /* read MAX_SIZE_T chars */ | 319 | read_chars(L, f, ~((size_t)0)); /* read MAX_SIZE_T chars */ |
320 | success = 1; /* always success */ | 320 | success = 1; /* always success */ |
321 | break; | 321 | break; |
322 | case 'w': /* word */ | ||
323 | return luaL_error(L, "obsolete option `*w' to `read'"); | ||
324 | default: | 322 | default: |
325 | return luaL_argerror(L, n, "invalid format"); | 323 | return luaL_argerror(L, n, "invalid format"); |
326 | } | 324 | } |