[flang][runtime] Fix input of NAN(...) on non-fast path
authorPeter Klausler <pklausler@nvidia.com>
Tue, 26 Apr 2022 23:49:29 +0000 (16:49 -0700)
committerPeter Klausler <pklausler@nvidia.com>
Mon, 9 May 2022 19:38:31 +0000 (12:38 -0700)
commit2f31b4b10a1ab3ec937fbbead55b66b8dfbb0934
tree633f1d4b6e69e2b849781bcd5dd8135d2e97d464
parent09fc685ce6808ae34de8e235bad686252eef3812
[flang][runtime] Fix input of NAN(...) on non-fast path

The closing parenthesis needs to be consumed when a NaN
with parenthesized (ignored) information is read on the
real input path that preprocesses input characters before
passing them to the decimal-to-binary converter.

Differential Revision: https://reviews.llvm.org/D125048
flang/runtime/edit-input.cpp