diff options
Diffstat (limited to 'lbaselib.c')
-rw-r--r-- | lbaselib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lbaselib.c,v 1.7 2000/10/02 14:47:43 roberto Exp roberto $ | 2 | ** $Id: lbaselib.c,v 1.8 2000/10/02 20:10:55 roberto Exp roberto $ |
3 | ** Basic library | 3 | ** Basic library |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -322,7 +322,7 @@ static int luaB_tostring (lua_State *L) { | |||
322 | case LUA_TNIL: | 322 | case LUA_TNIL: |
323 | lua_pushstring(L, "nil"); | 323 | lua_pushstring(L, "nil"); |
324 | return 1; | 324 | return 1; |
325 | case LUA_NOVALUE: | 325 | default: |
326 | luaL_argerror(L, 1, "value expected"); | 326 | luaL_argerror(L, 1, "value expected"); |
327 | } | 327 | } |
328 | lua_pushstring(L, buff); | 328 | lua_pushstring(L, buff); |