diff options
author | Peter Klausler <35819229+klausler@users.noreply.github.com> | 2024-07-30 11:19:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-30 11:19:23 -0700 |
commit | 99a0a12ad66b64616788619efbe2db52c066fbe2 (patch) | |
tree | 0c25cbb720265892912e5b9f20e04bcca28a317d /lldb/source/Plugins/ScriptInterpreter/Python | |
parent | 51f728376c4c68b0b287e7f6be568607f9a69452 (diff) | |
download | llvm-99a0a12ad66b64616788619efbe2db52c066fbe2.zip llvm-99a0a12ad66b64616788619efbe2db52c066fbe2.tar.gz llvm-99a0a12ad66b64616788619efbe2db52c066fbe2.tar.bz2 |
[flang][parser] Better error recovery for SUBROUTINE/FUNCTION statements (#100664)
When there's an error in a SUBROUTINE or FUNCTION statement, errors
cascade quickly because the body of the subprogram or interface isn't in
the right context. So, if a SUBROUTINE or FUNCTION statement is
expected, and contains a SUBROUTINE or FUNCTION keyword, it counts as
one -- retain and emit any errors pertaining to the arguments or suffix,
recover to the end of the line if needed, and proceed.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions