* 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:
Akim Demaille
2001-08-07 07:58:43 +00:00
parent ea4e548a4a
commit c4b661269e
5 changed files with 435 additions and 417 deletions

View File

@@ -33,6 +33,7 @@
#include "print.h"
#include "LR0.h"
#include "conflicts.h"
#include "print_graph.h"
/* The name this program was run with, for messages. */
char *program_name;
@@ -83,6 +84,9 @@ main (int argc, char *argv[])
/* Print information about results, if requested. */
print_results ();
/* Output the VCG graph. */
print_graph ();
/* Output the tables and the parser to ftable. In file output. */
output ();