aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--llex.c3
-rw-r--r--lparser.c5
-rw-r--r--lstate.c5
-rw-r--r--ltm.c3
4 files changed, 5 insertions, 11 deletions
diff --git a/llex.c b/llex.c
index 08beda35..3e308753 100644
--- a/llex.c
+++ b/llex.c
@@ -1,12 +1,11 @@
1/* 1/*
2** $Id: llex.c,v 1.101 2002/05/15 18:57:44 roberto Exp roberto $ 2** $Id: llex.c,v 1.102 2002/05/16 18:39:46 roberto Exp roberto $
3** Lexical Analyzer 3** Lexical Analyzer
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
6 6
7 7
8#include <ctype.h> 8#include <ctype.h>
9#include <stdio.h>
10#include <string.h> 9#include <string.h>
11 10
12#include "lua.h" 11#include "lua.h"
diff --git a/lparser.c b/lparser.c
index 3afe5945..805db329 100644
--- a/lparser.c
+++ b/lparser.c
@@ -1,11 +1,10 @@
1/* 1/*
2** $Id: lparser.c,v 1.183 2002/05/14 17:52:22 roberto Exp roberto $ 2** $Id: lparser.c,v 1.184 2002/05/16 18:39:46 roberto Exp roberto $
3** Lua Parser 3** Lua Parser
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#include <string.h> 8#include <string.h>
10 9
11#include "lua.h" 10#include "lua.h"
@@ -852,7 +851,7 @@ static void check_conflict (LexState *ls, struct LHS_assign *lh, expdesc *v) {
852static void assignment (LexState *ls, struct LHS_assign *lh, int nvars) { 851static void assignment (LexState *ls, struct LHS_assign *lh, int nvars) {
853 expdesc e; 852 expdesc e;
854 check_condition(ls, VLOCAL <= lh->v.k && lh->v.k <= VINDEXED, 853 check_condition(ls, VLOCAL <= lh->v.k && lh->v.k <= VINDEXED,
855 "syntax error!"); 854 "syntax error");
856 if (ls->t.token == ',') { /* assignment -> `,' primaryexp assignment */ 855 if (ls->t.token == ',') { /* assignment -> `,' primaryexp assignment */
857 struct LHS_assign nv; 856 struct LHS_assign nv;
858 nv.prev = lh; 857 nv.prev = lh;
diff --git a/lstate.c b/lstate.c
index cf8abefb..99b4bf75 100644
--- a/lstate.c
+++ b/lstate.c
@@ -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*/
32static int default_panic (lua_State *L) { 30static int default_panic (lua_State *L) {
33 fputs("unable to recover; exiting\n", stderr);
34 return 0; 31 return 0;
35} 32}
36 33
diff --git a/ltm.c b/ltm.c
index 7b7b64a2..54762902 100644
--- a/ltm.c
+++ b/ltm.c
@@ -1,11 +1,10 @@
1/* 1/*
2** $Id: ltm.c,v 1.91 2002/05/20 19:51:06 roberto Exp roberto $ 2** $Id: ltm.c,v 1.92 2002/05/27 20:35:40 roberto Exp roberto $
3** Tag methods 3** Tag methods
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#include <string.h> 8#include <string.h>
10 9
11#include "lua.h" 10#include "lua.h"