]> git.saurik.com Git - bison.git/commit
Automaton VCG graph output.
authorAkim Demaille <akim@epita.fr>
Mon, 6 Aug 2001 09:22:33 +0000 (09:22 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 6 Aug 2001 09:22:33 +0000 (09:22 +0000)
commit22c2cbc078dc5243041d10f4e6e1e5ce1aca36cf
tree0bee6a6d60c0241e290a118d354bc9fbf49ce5b3
parentce4d5ce009fe91e1da3740abd9c5941521a1cd07
Automaton VCG graph output.
Using option ``-g'' or long option ``--graph'', you can generate
a gram_filename.vcg file containing a VCG description of the LALR (1)
automaton of your grammar.
* src/main.c: Call to print_graph() function.
* src/getargs.h: Update.
* src/getargs.c (options): Update to catch `-g' and `--graph' options.
(graph_flag): New flag.
(longopts): Update.
(getargs): Add case `g'.
* src/files.c (graph_obstack): New obstack struct.
(open_files): Initialize new obstack.
(output_files): Saves graph_obstack if required.
* src/files.h (graph_obstack): New extern declaration.
* src/Makefile.am: Add new source files.
ChangeLog
src/Makefile.am
src/Makefile.in
src/files.c
src/files.h
src/getargs.c
src/getargs.h
src/print_graph.c