* src/conflicts.c: Move global variables rrc_total and src_total ...

(print_conflicts): here.
* src/output.c (output): Free global variable user_toknums.
* src/lex.c (token_obstack): Become static.
This commit is contained in:
Pascal Bart
2001-10-19 11:03:50 +00:00
parent 490abf53b1
commit 0846f581e8
5 changed files with 303 additions and 3 deletions

View File

@@ -35,8 +35,6 @@ static char *conflicts = NULL;
static unsigned *shiftset = NULL;
static unsigned *lookaheadset = NULL;
static int src_total;
static int rrc_total;
static int src_count;
static int rrc_count;
@@ -460,6 +458,8 @@ void
print_conflicts (FILE *out)
{
int i;
int src_total;
int rrc_total;
src_total = 0;
rrc_total = 0;