We currently aren't handling this properly, and in the case
of a string block just crash. This commit adds proper error handling
and detection for eof.
Depends on D124584
Paths
| Differential D124585
[mlir:PDLL] Fix error handling of eof within a string literal ClosedPublic Authored by rriddle on Apr 27 2022, 5:35 PM.
Details Summary We currently aren't handling this properly, and in the case Depends on D124584
Diff Detail
Event Timelinerriddle added a child revision: D124586: [mlir:PDLL] Fix the import of native constraints from ODS.Apr 27 2022, 5:35 PM This revision is now accepted and ready to land.Apr 28 2022, 5:55 AM This revision was landed with ongoing or failed builds.Apr 28 2022, 12:58 PM Closed by commit rGebb1e900d3b3: [mlir:PDLL] Fix error handling of eof within a string literal (authored by rriddle). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 425888 mlir/lib/Tools/PDLL/Parser/Lexer.cpp
mlir/lib/Tools/PDLL/Parser/Parser.cpp
|