[flang][runtime] Better error message for mis-ASSIGN'ed FORMAT
authorPeter Klausler <pklausler@nvidia.com>
Sat, 11 Jun 2022 14:09:20 +0000 (07:09 -0700)
committerPeter Klausler <pklausler@nvidia.com>
Wed, 15 Jun 2022 21:46:22 +0000 (14:46 -0700)
commit690de85ed8e953e476154ced21c9ffe12917a548
tree9712a24275af918c93139bc45ba478e86fc24f49
parent307109266f6c7598dfc69b6388fa271662de9388
[flang][runtime] Better error message for mis-ASSIGN'ed FORMAT

When an I/O data transfer statement uses an ASSIGN'ed FORMAT that
has not been ASSIGN'ed to a FORMAT statement, the runtime receives
a zero-length format string.  Distinguish this case from the general
error message about missing parentheses.

Differential Revision: https://reviews.llvm.org/D127797
flang/runtime/format.h