Source lines with mismatched parentheses are hard cases for error
recovery in parsing, and the best error message (viz.,
"here's an unmatched parenthesis") can be emitted from the
prescanner.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D111254
[flang] Catch mismatched parentheses in prescanner ClosedPublic Authored by klausler on Oct 6 2021, 11:49 AM.
Details Summary Source lines with mismatched parentheses are hard cases for error
Diff Detail Event TimelineThis revision is now accepted and ready to land.Oct 6 2021, 1:56 PM Closed by commit rG094b380c210a: [flang] Catch mismatched parentheses in prescanner (authored by klausler). · Explain WhyOct 6 2021, 2:00 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 377627 flang/lib/Parser/prescan.cpp
flang/lib/Parser/token-sequence.h
flang/lib/Parser/token-sequence.cpp
|