bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

25-fyi-traces.patch


From: Akim Demaille
Subject: 25-fyi-traces.patch
Date: Mon, 19 Nov 2001 10:03:43 +0100

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * src/LR0.c (new_state): Complete trace code.
        * src/nullable.c (set_nullable): Don't translate traces.


Index: src/LR0.c
--- src/LR0.c Fri, 28 Sep 2001 09:33:42 +0200 akim
+++ src/LR0.c Sat, 17 Nov 2001 15:59:03 +0100 akim
@@ -200,7 +200,8 @@
   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)
Index: src/nullable.c
--- src/nullable.c Fri, 16 Nov 2001 01:00:46 +0100 akim
+++ src/nullable.c Sat, 17 Nov 2001 15:52:28 +0100 akim
@@ -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 @@
   short *r1;

 #ifdef TRACE
-  fprintf (stderr, _("Entering set_nullable"));
+  fprintf (stderr, "Entering set_nullable\n");
 #endif

   nullable = XCALLOC (char, nvars) - ntokens;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]