From: Joel E. Denny <joeldenny@joeldenny.org>
Date: Fri, 30 Apr 2010 23:50:34 +0000 (-0400)
Subject: In DOT output, convert from "/*" comments to "//" comments.
X-Git-Tag: v2.7.90~689
X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/b7666378f5cb5e9587d3c918f0cdcaf6f8aca5c7

In DOT output, convert from "/*" comments to "//" comments.

This handles the possibility that a "*/" might appear in
variable portions of those comments at some point in the future.
* src/graphviz.c (start_graph): Implement.
---

diff --git a/ChangeLog b/ChangeLog
index 1bc9ec71..49040852 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-05-01  Joel E. Denny  <joeldenny@joeldenny.org>
+
+	In DOT output, convert from "/*" comments to "//" comments.
+	This handles the possibility that a "*/" might appear in
+	variable portions of those comments at some point in the future.
+	* src/graphviz.c (start_graph): Implement.
+
 2010-04-30  Joel E. Denny  <joeldenny@joeldenny.org>
 
 	Document that undefined %prec identifier warnings will remain.
diff --git a/src/graphviz.c b/src/graphviz.c
index 13f279f3..5eefcbf2 100644
--- a/src/graphviz.c
+++ b/src/graphviz.c
@@ -40,11 +40,9 @@ void
 start_graph (FILE *fout)
 {
   fprintf (fout,
-           _("/*\n"
-             " * Generated by %s.\n"
-             " * Report bugs to <%s>.\n"
-             " * Home page: <%s>.\n"
-             " */\n"
+           _("// Generated by %s.\n"
+             "// Report bugs to <%s>.\n"
+             "// Home page: <%s>.\n"
              "\n"),
            PACKAGE_STRING,
            PACKAGE_BUGREPORT,