mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-12 22:03:02 +00:00
* src/LR0.c (new_state): Complete trace code.
* src/nullable.c (set_nullable): Don't translate traces.
This commit is contained in:
@@ -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>
|
2001-11-19 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
* src/print_graph.c (print_core): Better locality of variables.
|
* src/print_graph.c (print_core): Better locality of variables.
|
||||||
|
|||||||
@@ -200,7 +200,8 @@ new_state (int symbol)
|
|||||||
short *iend;
|
short *iend;
|
||||||
|
|
||||||
#if TRACE
|
#if TRACE
|
||||||
fprintf (stderr, "Entering new_state, symbol = %d\n", symbol);
|
fprintf (stderr, "Entering new_state, symbol = %d, state = %d\n",
|
||||||
|
symbol, nstates);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (nstates >= MAXSHORT)
|
if (nstates >= MAXSHORT)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* Part of the bison parser generator,
|
/* 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.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|
||||||
@@ -48,7 +48,7 @@ set_nullable (void)
|
|||||||
short *r1;
|
short *r1;
|
||||||
|
|
||||||
#ifdef TRACE
|
#ifdef TRACE
|
||||||
fprintf (stderr, _("Entering set_nullable"));
|
fprintf (stderr, "Entering set_nullable\n");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
nullable = XCALLOC (char, nvars) - ntokens;
|
nullable = XCALLOC (char, nvars) - ntokens;
|
||||||
|
|||||||
Reference in New Issue
Block a user