[flang-commits] [PATCH] D117816: [flang] Fix OPEN/WRITE(SIGN='SUPPRESS')
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Thu Jan 20 11:07:53 PST 2022
klausler created this revision.
klausler added a reviewer: vdonaldson.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
klausler requested review of this revision.
The keyword value was misspelled in the runtime.
https://reviews.llvm.org/D117816
Files:
flang/runtime/io-api.cpp
Index: flang/runtime/io-api.cpp
===================================================================
--- flang/runtime/io-api.cpp
+++ flang/runtime/io-api.cpp
@@ -593,7 +593,8 @@
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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117816.401710.patch
Type: text/x-patch
Size: 634 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220120/f8528fc8/attachment.bin>
More information about the flang-commits
mailing list