llvm-project
3c2fc7a4 - [flang] Refine tokenization trick that hid macro name (#121990)

Commit
301 days ago
[flang] Refine tokenization trick that hid macro name (#121990) In order to properly expose the Hollerith editing item in something like FORMAT(3I9HHOLLERITH) as its own token, the tokenization routine in the prescanner has special handling for digit strings followed by letters ("3I" above). This handler's effects are too broad, and prevent a macro name from being recognized as such in a reported bug; make the test for a hidden Hollerith more precise. Fixes https://github.com/llvm/llvm-project/issues/121931.
Author
Parents
Loading