diff options
author | peter klausler <pklausler@nvidia.com> | 2020-08-07 16:44:08 -0700 |
---|---|---|
committer | peter klausler <pklausler@nvidia.com> | 2020-08-10 11:31:41 -0700 |
commit | 189c0833dfd654f08a8655ca765e11e8890a92ae (patch) | |
tree | ec8cb4f43b74da8ea9171432264884bedfe95b76 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | e3820570d406f56a25eee681df03a394882febb0 (diff) | |
download | llvm-189c0833dfd654f08a8655ca765e11e8890a92ae.zip llvm-189c0833dfd654f08a8655ca765e11e8890a92ae.tar.gz llvm-189c0833dfd654f08a8655ca765e11e8890a92ae.tar.bz2 |
[flang] Fix edge case with Hollerith
To prevent mistokenization of CHARACTER*2HXY as a Hollerith
literal constant while allowing it in DATA A/2*2HXY/, there's
a little state that tracks whether a / has been seen earlier
in the same statement. But it was being reset on each line,
not statement, so Hollerith in a DATA statement continuation
line was incorrectly tokenized. Fixed.
Differential Revision: https://reviews.llvm.org/D85571
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions