[flang][runtime] Catch input error case of missing integer value
authorPeter Klausler <pklausler@nvidia.com>
Sun, 14 Aug 2022 17:29:21 +0000 (10:29 -0700)
committerPeter Klausler <pklausler@nvidia.com>
Thu, 18 Aug 2022 22:51:11 +0000 (15:51 -0700)
commit514b759a969b8788345f2288fe543507f7d7ba9c
tree42af27644898b97fdc393bca7a184e33ff6b0fb3
parentaaccb2370fd9c4b3313cb03375ba87e881d2cdac
[flang][runtime] Catch input error case of missing integer value

Formatted input allows for an empty numeric input field, which
signifies a zero value, but list-directed and NAMELIST input does
not -- apart from the special case of a NAMELIST array.

Differential Revision: https://reviews.llvm.org/D132178
flang/runtime/edit-input.cpp
flang/runtime/namelist.cpp
flang/runtime/namelist.h