mirror of https://github.com/rusefi/lua.git
no more use of stdio inside the core (except for `tostring'...)
This commit is contained in:
parent
5094c37988
commit
ff91b355f4
3
llex.c
3
llex.c
|
@ -1,12 +1,11 @@
|
|||
/*
|
||||
** $Id: llex.c,v 1.101 2002/05/15 18:57:44 roberto Exp roberto $
|
||||
** $Id: llex.c,v 1.102 2002/05/16 18:39:46 roberto Exp roberto $
|
||||
** Lexical Analyzer
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "lua.h"
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
/*
|
||||
** $Id: lparser.c,v 1.183 2002/05/14 17:52:22 roberto Exp roberto $
|
||||
** $Id: lparser.c,v 1.184 2002/05/16 18:39:46 roberto Exp roberto $
|
||||
** Lua Parser
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "lua.h"
|
||||
|
@ -852,7 +851,7 @@ static void check_conflict (LexState *ls, struct LHS_assign *lh, expdesc *v) {
|
|||
static void assignment (LexState *ls, struct LHS_assign *lh, int nvars) {
|
||||
expdesc e;
|
||||
check_condition(ls, VLOCAL <= lh->v.k && lh->v.k <= VINDEXED,
|
||||
"syntax error!");
|
||||
"syntax error");
|
||||
if (ls->t.token == ',') { /* assignment -> `,' primaryexp assignment */
|
||||
struct LHS_assign nv;
|
||||
nv.prev = lh;
|
||||
|
|
5
lstate.c
5
lstate.c
|
@ -1,12 +1,10 @@
|
|||
/*
|
||||
** $Id: lstate.c,v 1.93 2002/05/07 17:36:56 roberto Exp roberto $
|
||||
** $Id: lstate.c,v 1.94 2002/05/08 17:34:23 roberto Exp roberto $
|
||||
** Global State
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "lua.h"
|
||||
|
||||
#include "ldo.h"
|
||||
|
@ -30,7 +28,6 @@ static void close_state (lua_State *L);
|
|||
** call `lua_setpanicf'
|
||||
*/
|
||||
static int default_panic (lua_State *L) {
|
||||
fputs("unable to recover; exiting\n", stderr);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue