mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 08:13:02 +00:00
* src/vcg.c (complain.h): Include it.
Unepitaize `return' invocations. [NDEBUG] (main): Remove. * src/vcg.h (node_t, edge_t, graph_t): Constify the char * memebers. * src/files.c (open_files): Initialize graph_obstack. * src/print_graph.c (print_actions): CPP out useless code. (print_core): Don't output the last `n' in labels. Use `quote'. * src/files.c (output_files): Output the VCG file. * src/main.c (main): Invoke print_graph ();
This commit is contained in:
@@ -349,6 +349,7 @@ open_files (void)
|
||||
obstack_init (&defines_obstack);
|
||||
obstack_init (&guard_obstack);
|
||||
obstack_init (&output_obstack);
|
||||
obstack_init (&graph_obstack);
|
||||
}
|
||||
|
||||
|
||||
@@ -407,4 +408,7 @@ output_files (void)
|
||||
/* We used to use just .out if spec_name_prefix (-p) was used, but
|
||||
that conflicts with Posix. */
|
||||
obstack_save (&output_obstack, stringappend (short_base_name, EXT_OUTPUT));
|
||||
|
||||
if (graph_flag)
|
||||
obstack_save (&graph_obstack, stringappend (short_base_name, ".vcg"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user