bison-patches
[Top][All Lists]
Advanced

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

bison version in graph output file


From: tys lefering
Subject: bison version in graph output file
Date: Fri, 5 Feb 2010 14:45:24 +0100
User-agent: SquirrelMail/1.4.18

Hi,
Here is a very small patch to add a comment line
in the output graph with the bison version number.
Would like to have that in the graph output file.

--- /home/twlevo/etc/bisongit/bison/src/graphviz.c      2010-01-13
20:20:52.000000000 +0100
+++ graphviz.c  2010-02-05 14:34:35.000000000 +0100
@@ -38,6 +38,7 @@
 void
 start_graph (FILE *fout)
 {
+  fprintf (fout, "/* generated with GNU Bison parser generator version
%s. Report bugs to <%s>. http://www.gnu.org/software/bison/ */\n",
VERSION, PACKAGE_BUGREPORT);
   fputs ("digraph Automaton {\n", fout);
 }


Thanks,
Tys Lefering.

Attachment: graphviz.diff
Description: Text Data


reply via email to

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