This is an archive of the discontinued LLVM Phabricator instance.

[flang] Don't mistakenly tokenize a Hollerith literal from "DO 100 H=..." (bug #58732)
ClosedPublic

Authored by klausler on May 11 2023, 4:04 PM.

Details

Summary

After tokenizing an identifier, don't allow the next token to be a
Hollerith literal.

Fixes https://github.com/llvm/llvm-project/issues/58732.

Diff Detail

Event Timeline

klausler created this revision.May 11 2023, 4:04 PM
Herald added a project: Restricted Project. · View Herald Transcript
klausler requested review of this revision.May 11 2023, 4:04 PM
vdonaldson accepted this revision.May 11 2023, 4:19 PM
This revision is now accepted and ready to land.May 11 2023, 4:19 PM