[flang] complete merge to current master

Original-commit: flang-compiler/f18@ca43f45616
Reviewed-on: https://github.com/flang-compiler/f18/pull/151
Tree-same-pre-rewrite: false
This commit is contained in:
peter klausler 2018-07-27 13:38:24 -07:00
parent fa30061f09
commit 28ed1390cd
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ bool ModFileReader::Read(const SourceName &modName) {
return false;
}
auto &modSymbol{*it->second};
modSymbol.scope()->set_chars(parsing.cooked().data());
modSymbol.scope()->set_chars(std::string{parsing.cooked().data()});
modSymbol.set(Symbol::Flag::ModFile);
return true;
}