From 577c9781040da8017bcaca6d53aff6ecb457a83f Mon Sep 17 00:00:00 2001 From: fxcoudert Date: Sun, 6 Apr 2008 12:18:56 +0000 Subject: [PATCH] * parse.c (gfc_parse_file): Use gfc_dump_parse_tree. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133959 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/fortran/ChangeLog | 1 + gcc/fortran/parse.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index eaec1f5..64e5193 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -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 Francois-Xavier Coudert diff --git a/gcc/fortran/parse.c b/gcc/fortran/parse.c index d7d81a1..b133743 100644 --- a/gcc/fortran/parse.c +++ b/gcc/fortran/parse.c @@ -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) -- 2.7.4