mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 00:33:03 +00:00
graph: sign the output file.
* src/graphviz.c (start_graph): Issue comments about Bison.
Suggested by Tys Lefering.
(cherry picked from commit 8176ab33c8)
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2010-04-05 Akim Demaille <demaille@gostai.com>
|
||||||
|
|
||||||
|
graph: sign the output file.
|
||||||
|
* src/graphviz.c (start_graph): Issue comments about Bison.
|
||||||
|
Suggested by Tys Lefering.
|
||||||
|
|
||||||
2010-03-31 Joel E. Denny <jdenny@ces.clemson.edu>
|
2010-03-31 Joel E. Denny <jdenny@ces.clemson.edu>
|
||||||
|
|
||||||
portability: fix test suite for GCC 4.5's new #error message.
|
portability: fix test suite for GCC 4.5's new #error message.
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
|
|
||||||
#include <quotearg.h>
|
#include <quotearg.h>
|
||||||
|
|
||||||
|
#include "files.h"
|
||||||
#include "graphviz.h"
|
#include "graphviz.h"
|
||||||
|
|
||||||
/* Return an unambiguous printable representation for NAME, suitable
|
/* Return an unambiguous printable representation for NAME, suitable
|
||||||
@@ -38,7 +39,20 @@ quote (char const *name)
|
|||||||
void
|
void
|
||||||
start_graph (FILE *fout)
|
start_graph (FILE *fout)
|
||||||
{
|
{
|
||||||
fputs ("digraph Automaton {\n", fout);
|
fprintf (fout,
|
||||||
|
_("/*\n"
|
||||||
|
" * Generated by %s.\n"
|
||||||
|
" * Report bugs to <%s>.\n"
|
||||||
|
" * Home page: <%s>.\n"
|
||||||
|
" */\n"
|
||||||
|
"\n"),
|
||||||
|
PACKAGE_STRING,
|
||||||
|
PACKAGE_BUGREPORT,
|
||||||
|
PACKAGE_URL);
|
||||||
|
fprintf (fout,
|
||||||
|
"digraph %s\n"
|
||||||
|
"{\n",
|
||||||
|
quote (grammar_file));
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user