From: Akim Demaille Date: Mon, 19 Nov 2001 10:28:57 +0000 (+0000) Subject: * src/LR0.c (new_state): Complete trace code. X-Git-Tag: before-m4-back-end~293 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/6986fd9e3b0af45d17e709525587877871212bba * src/LR0.c (new_state): Complete trace code. * src/nullable.c (set_nullable): Don't translate traces. --- diff --git a/ChangeLog b/ChangeLog index 07638098..e7f63fff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-11-19 Akim Demaille + + * src/LR0.c (new_state): Complete trace code. + * src/nullable.c (set_nullable): Don't translate traces. + + 2001-11-19 Akim Demaille * src/print_graph.c (print_core): Better locality of variables. diff --git a/src/LR0.c b/src/LR0.c index 133a8218..3288d9dc 100644 --- a/src/LR0.c +++ b/src/LR0.c @@ -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) diff --git a/src/nullable.c b/src/nullable.c index 6c60f0fd..4568114f 100644 --- a/src/nullable.c +++ b/src/nullable.c @@ -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;