Add a new -fdump-tree flag for printing out the AST.
commit46b1f37705c257c999f8025d3e2567cf7e04c720
authorrmathew <rmathew@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Oct 2005 04:01:11 +0000 (13 04:01 +0000)
committerrmathew <rmathew@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Oct 2005 04:01:11 +0000 (13 04:01 +0000)
tree04ca2704b21bd3a2c92b3ac2b8f5453f505f4d55
parent88ad47df87e8d0150caa89c313516c49208d1428
Add a new -fdump-tree flag for printing out the AST.
* compiler.hh (compiler::dump_tree): New compiler flag.
* compiler.cc (compiler::dump_tree): Initialize to false.
(compiler::do_analyze_unit): Dump AST at the end of semantic
analysis, if requested.
* main.cc (features): Add "dump-tree".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcjx-branch@105355 138bc75d-0d04-0410-961f-82ee72b054a4
gcjx/ChangeLog
gcjx/compiler.cc
gcjx/compiler.hh
gcjx/main.cc