[flang] Emit just one warning for a bad format edit descriptor
authorPeter Klausler <pklausler@nvidia.com>
Thu, 20 Jul 2023 21:44:46 +0000 (14:44 -0700)
committerPeter Klausler <pklausler@nvidia.com>
Fri, 21 Jul 2023 22:16:59 +0000 (15:16 -0700)
commitcfa032cea0a165ad803fbfdd17e805052e2f3640
tree393506d4f1417fcb7bf1840f77dffb645a5df96b
parentb2d76a063dd7fb681c98a10d8e7f54fd6d25dd27
[flang] Emit just one warning for a bad format edit descriptor

An attempt to use an edit descriptor (other than A or L) in a FORMAT
statement without arequired 'w' width will elicit warnings from both
the parser and the I/O checker in semantics.  Remove the warning from
the parser.

Differential Revision: https://reviews.llvm.org/D155977
flang/include/flang/Common/format.h
flang/lib/Parser/io-parsers.cpp