[PATCH] D117816: [flang] Fix OPEN/WRITE(SIGN='SUPPRESS')

Peter Klausler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 20 15:34:56 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG5501c16edf0f: [flang] Fix OPEN/WRITE(SIGN='SUPPRESS') (authored by klausler).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117816/new/

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.401802.patch
Type: text/x-patch
Size: 634 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220120/b9bb3135/attachment.bin>


More information about the llvm-commits mailing list