aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/dump-parse-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fortran/dump-parse-tree.c')
-rw-r--r--gcc/fortran/dump-parse-tree.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/fortran/dump-parse-tree.c b/gcc/fortran/dump-parse-tree.c
index c2c9b63..5ead416 100644
--- a/gcc/fortran/dump-parse-tree.c
+++ b/gcc/fortran/dump-parse-tree.c
@@ -3194,9 +3194,10 @@ write_proc (gfc_symbol *sym)
if (rok == T_WARN)
fputs(" /* WARNING: non-interoperable KIND */ ", dumpfile);
- fputs (f->next ? ", " : ")", dumpfile);
+ if (f->next)
+ fputs(", ", dumpfile);
}
- fputs (";\n", dumpfile);
+ fputs (");\n", dumpfile);
}