This is an archive of the discontinued LLVM Phabricator instance.

[flang] Don't completely left-justify fixed-form tokenization
ClosedPublic

Authored by klausler on Aug 25 2020, 10:28 AM.

Details

Summary

If the label field is empty, and macro replacement occurs,
the rescanned text might be misclassified as a comment card
if it happens to begin with a C or a D. Insert a leading
space into these otherwise empty label fields.

Fixes https://bugs.llvm.org/show_bug.cgi?id=47173

Diff Detail

Event Timeline

klausler created this revision.Aug 25 2020, 10:28 AM
Herald added a project: Restricted Project. · View Herald Transcript
klausler requested review of this revision.Aug 25 2020, 10:28 AM
PeteSteinfeld accepted this revision.Aug 25 2020, 10:52 AM

All builds, tests, and looks good.

This revision is now accepted and ready to land.Aug 25 2020, 10:52 AM
klausler closed this revision.Aug 25 2020, 10:56 AM