forked from OSchip/llvm-project
[flang] Fix OPEN/WRITE(SIGN='SUPPRESS')
The keyword value was misspelled in the runtime. Differential Revision: https://reviews.llvm.org/D117816
This commit is contained in:
parent
d92e5412ea
commit
5501c16edf
|
@ -593,7 +593,8 @@ bool IONAME(SetRound)(Cookie cookie, const char *keyword, std::size_t length) {
|
|||
bool IONAME(SetSign)(Cookie cookie, const char *keyword, std::size_t length) {
|
||||
IoStatementState &io{*cookie};
|
||||
ConnectionState &connection{io.GetConnectionState()};
|
||||
static const char *keywords[]{"PLUS", "YES", "PROCESSOR_DEFINED", nullptr};
|
||||
static const char *keywords[]{
|
||||
"PLUS", "SUPPRESS", "PROCESSOR_DEFINED", nullptr};
|
||||
switch (IdentifyValue(keyword, length, keywords)) {
|
||||
case 0:
|
||||
connection.modes.editingFlags |= signPlus;
|
||||
|
|
Loading…
Reference in New Issue