]> git.saurik.com Git - bison.git/commitdiff
In DOT output, convert from "/*" comments to "//" comments.
authorJoel E. Denny <joeldenny@joeldenny.org>
Fri, 30 Apr 2010 23:50:34 +0000 (19:50 -0400)
committerJoel E. Denny <joeldenny@joeldenny.org>
Sat, 1 May 2010 23:48:15 +0000 (19:48 -0400)
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.

ChangeLog
src/graphviz.c

index 1bc9ec718f2f3274927fe35a21db9f7161037420..4904085287daefd1471c87cf2a473fb79faa281f 100644 (file)
--- 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.
index 13f279f3494f208c0446e7e0cf09c9a80ddce8e1..5eefcbf21c9e78c1f9c6017434b1228e9e368fad 100644 (file)
@@ -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,