bison-patches
[Top][All Lists]
Advanced

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

Re: XML report generation added


From: Joel E. Denny
Subject: Re: XML report generation added
Date: Sun, 23 Sep 2007 21:42:21 -0400 (EDT)

On Fri, 21 Sep 2007, Paul Eggert wrote:

> I installed this.  Thanks to Wojciech Polak for contributing this code.

Thanks.

I committed this.

Index: ChangeLog
===================================================================
RCS file: /sources/bison/bison/ChangeLog,v
retrieving revision 1.1725
diff -p -u -r1.1725 ChangeLog
--- ChangeLog   21 Sep 2007 22:53:56 -0000      1.1725
+++ ChangeLog   24 Sep 2007 01:37:35 -0000
@@ -1,3 +1,11 @@
+2007-09-23  Joel E. Denny  <address@hidden>
+
+       Pacify ./configure --enable-gcc-warnings.
+       * src/print-xml.c, src/print-xml.h (xml_puts): Make third argument
+       `char const *' instead of `char *'.
+       * src/state.c (state_rule_lookahead_tokens_print_xml): Remove unused
+       local variable `sep'.
+
 2007-09-21  Paul Eggert  <address@hidden>
 
        * src/gram.c (rule_rhs_print_xml): Now static, since it isn't used
Index: src/print-xml.c
===================================================================
RCS file: /sources/bison/bison/src/print-xml.c,v
retrieving revision 1.1
diff -p -u -r1.1 print-xml.c
--- src/print-xml.c     21 Sep 2007 22:53:57 -0000      1.1
+++ src/print-xml.c     24 Sep 2007 01:37:35 -0000
@@ -491,7 +491,7 @@ print_grammar (FILE *out, int level)
 }
 
 void
-xml_puts (FILE *out, int level, char *s)
+xml_puts (FILE *out, int level, char const *s)
 {
   int i;
   level *= 2;
Index: src/print-xml.h
===================================================================
RCS file: /sources/bison/bison/src/print-xml.h,v
retrieving revision 1.1
diff -p -u -r1.1 print-xml.h
--- src/print-xml.h     21 Sep 2007 22:53:57 -0000      1.1
+++ src/print-xml.h     24 Sep 2007 01:37:35 -0000
@@ -22,7 +22,7 @@
 #ifndef PRINT_XML_H_
 # define PRINT_XML_H_
 
-void xml_puts (FILE *, int, char *);
+void xml_puts (FILE *, int, char const *);
 void xml_printf (FILE *, int, char const *, ...);
 char const *xml_escape_n (int n, char const *str);
 char const *xml_escape (char const *str);
Index: src/state.c
===================================================================
RCS file: /sources/bison/bison/src/state.c,v
retrieving revision 1.47
diff -p -u -r1.47 state.c
--- src/state.c 21 Sep 2007 22:53:57 -0000      1.47
+++ src/state.c 24 Sep 2007 01:37:35 -0000
@@ -259,7 +259,6 @@ state_rule_lookahead_tokens_print_xml (s
     {
       bitset_iterator biter;
       int k;
-      char const *sep = "";
       xml_puts (out, level, "<lookaheads>");
       BITSET_FOR_EACH (biter, reds->lookahead_tokens[red], k, 0)
        {




reply via email to

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