Commit daf5afd4 by Francois-Xavier Coudert Committed by François-Xavier Coudert

* parse.c (gfc_parse_file): Use gfc_dump_parse_tree.

From-SVN: r133959
parent 6c1abb5c
......@@ -12,6 +12,7 @@
(gfc_handle_module_path_options): Use gfc_fatal_error instead of
gfc_status and exit.
(gfc_handle_option): Rename verbose into dump_parse_tree.
* parse.c (gfc_parse_file): Use gfc_dump_parse_tree.
2008-04-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
......
......@@ -3566,8 +3566,8 @@ loop:
gfc_resolve (gfc_current_ns);
/* Dump the parse tree if requested. */
if (gfc_option.verbose)
gfc_show_namespace (gfc_current_ns);
if (gfc_option.dump_parse_tree)
gfc_dump_parse_tree (gfc_current_ns, stdout);
gfc_get_errors (NULL, &errors);
if (s.state == COMP_MODULE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment