* src/LR0.c (new_state): Complete trace code.

* src/nullable.c (set_nullable): Don't translate traces.
This commit is contained in:
Akim Demaille
2001-11-19 10:28:57 +00:00
parent 4bc30f78dc
commit 6986fd9e3b
3 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
2001-11-19 Akim Demaille <akim@epita.fr>
* src/LR0.c (new_state): Complete trace code.
* src/nullable.c (set_nullable): Don't translate traces.
2001-11-19 Akim Demaille <akim@epita.fr>
* src/print_graph.c (print_core): Better locality of variables.

View File

@@ -200,7 +200,8 @@ new_state (int symbol)
short *iend;
#if TRACE
fprintf (stderr, "Entering new_state, symbol = %d\n", symbol);
fprintf (stderr, "Entering new_state, symbol = %d, state = %d\n",
symbol, nstates);
#endif
if (nstates >= MAXSHORT)

View File

@@ -1,5 +1,5 @@
/* Part of the bison parser generator,
Copyright 1984, 1989, 2000 Free Software Foundation, Inc.
Copyright 1984, 1989, 2000, 2001 Free Software Foundation, Inc.
This file is part of Bison, the GNU Compiler Compiler.
@@ -48,7 +48,7 @@ set_nullable (void)
short *r1;
#ifdef TRACE
fprintf (stderr, _("Entering set_nullable"));
fprintf (stderr, "Entering set_nullable\n");
#endif
nullable = XCALLOC (char, nvars) - ntokens;