diff options
Diffstat (limited to 'gcc/fortran/dump-parse-tree.c')
-rw-r--r-- | gcc/fortran/dump-parse-tree.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/fortran/dump-parse-tree.c b/gcc/fortran/dump-parse-tree.c index f9c92b2..ea83da7 100644 --- a/gcc/fortran/dump-parse-tree.c +++ b/gcc/fortran/dump-parse-tree.c @@ -731,6 +731,17 @@ gfc_show_symbol (gfc_symbol *sym) } +/* Show a symbol for diagnostic purposes. */ +void +gfc_show_symbol_n (const char * msg, gfc_symbol *sym) +{ + if (msg) + gfc_status (msg); + gfc_show_symbol (sym); + gfc_status_char ('\n'); +} + + /* Show a user-defined operator. Just prints an operator and the name of the associated subroutine, really. */ |