This is an archive of the discontinued LLVM Phabricator instance.

[flang] Improve error handling for bad characters in source
ClosedPublic

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

Details

Summary

When an illegal character appears in Fortran source (after
preprocessing), catch and report it in the prescanning phase
rather than leaving it for the parser to cope with.

Diff Detail

Event Timeline

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

All builds, tests, and looks good.

This revision is now accepted and ready to land.Aug 25 2020, 11:31 AM