[flang][runtime] Fix handling of output FORMAT('x' 'y')
authorPeter Klausler <pklausler@nvidia.com>
Sun, 12 Jun 2022 16:54:45 +0000 (09:54 -0700)
committerPeter Klausler <pklausler@nvidia.com>
Wed, 15 Jun 2022 21:23:02 +0000 (14:23 -0700)
commit1a3ac586670df10a48b1adece9624589788cb21b
tree34d96dc823ca8f76236e4ad992824d1d5ac98b2c
parentbcad53e13175ef4f98764c7fa3588a7915dffe62
[flang][runtime] Fix handling of output FORMAT('x' 'y')

I'm emitting "x'y" because the space-separated apostrophes are
misinterpreted as being adjacent repeated quotation marks.
Fix to ensure no space skipping is applied when checking for
repeated quotation marks.

Differential Revision: https://reviews.llvm.org/D127792
flang/runtime/format-implementation.h