diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-03 11:09:57 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-03 11:09:57 -0300 |
commit | ff91b355f451c7b7fc286d8ca9bc8613096f497d (patch) | |
tree | 4d68b67ebcb9aa91cbdf27cec4529bc148863fcd /lstate.c | |
parent | 5094c37988a535f665c874c2656a992670981451 (diff) | |
download | lua-ff91b355f451c7b7fc286d8ca9bc8613096f497d.tar.gz lua-ff91b355f451c7b7fc286d8ca9bc8613096f497d.tar.bz2 lua-ff91b355f451c7b7fc286d8ca9bc8613096f497d.zip |
no more use of stdio inside the core (except for `tostring'...)
Diffstat (limited to 'lstate.c')
-rw-r--r-- | lstate.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1,12 +1,10 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.c,v 1.93 2002/05/07 17:36:56 roberto Exp roberto $ | 2 | ** $Id: lstate.c,v 1.94 2002/05/08 17:34:23 roberto Exp roberto $ |
3 | ** Global State | 3 | ** Global State |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
6 | 6 | ||
7 | 7 | ||
8 | #include <stdio.h> | ||
9 | |||
10 | #include "lua.h" | 8 | #include "lua.h" |
11 | 9 | ||
12 | #include "ldo.h" | 10 | #include "ldo.h" |
@@ -30,7 +28,6 @@ static void close_state (lua_State *L); | |||
30 | ** call `lua_setpanicf' | 28 | ** call `lua_setpanicf' |
31 | */ | 29 | */ |
32 | static int default_panic (lua_State *L) { | 30 | static int default_panic (lua_State *L) { |
33 | fputs("unable to recover; exiting\n", stderr); | ||
34 | return 0; | 31 | return 0; |
35 | } | 32 | } |
36 | 33 | ||