[flang] Another SUBMODULE unparsing tweak, and restore buildability with gcc < 8.1

Original-commit: flang-compiler/f18@86b5db4b23
Reviewed-on: https://github.com/flang-compiler/f18/pull/130
Tree-same-pre-rewrite: false
This commit is contained in:
peter klausler 2018-07-17 13:35:41 -07:00
parent 1732d043e2
commit 31cfbeab42
2 changed files with 1 additions and 4 deletions

View File

@ -1474,7 +1474,7 @@ public:
}}, }},
x.u); x.u);
} }
void Before(const SubmoduleStmt &x) { // R1417 void Unparse(const SubmoduleStmt &x) { // R1417
Word("SUBMODULE ("), WalkTupleElements(x.t, ")"), Indent(); Word("SUBMODULE ("), WalkTupleElements(x.t, ")"), Indent();
} }
void Unparse(const ParentIdentifier &x) { // R1418 void Unparse(const ParentIdentifier &x) { // R1418

View File

@ -15,9 +15,6 @@
#ifndef FORTRAN_SEMANTICS_MOD_FILE_H_ #ifndef FORTRAN_SEMANTICS_MOD_FILE_H_
#define FORTRAN_SEMANTICS_MOD_FILE_H_ #define FORTRAN_SEMANTICS_MOD_FILE_H_
#include <filesystem>
#include <iosfwd>
namespace Fortran::semantics { namespace Fortran::semantics {
void WriteModFiles(); void WriteModFiles();