summaryrefslogtreecommitdiff
path: root/compiler/Language
diff options
context:
space:
mode:
authorJakob Brünker <jakob.bruenker@gmail.com>2022-03-18 17:56:07 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-03-30 03:10:33 -0400
commitf07c7766663fa52a037aaf941fd0d34523ff2f2f (patch)
treede3288beb918e3fbe0d053ffc9bbadaed9f38477 /compiler/Language
parentdda46e2da13268c239db3290720b014cef00c01d (diff)
downloadhaskell-f07c7766663fa52a037aaf941fd0d34523ff2f2f.tar.gz
Give parsing plugins access to errors
Previously, when the parser produced non-fatal errors (i.e. it produced errors but the 'PState' is 'POk'), compilation would be aborted before the 'parsedResultAction' of any plugin was invoked. This commit changes that, so that such that 'parsedResultAction' gets collections of warnings and errors as argument, and must return them after potentially modifying them. Closes #20803
Diffstat (limited to 'compiler/Language')
0 files changed, 0 insertions, 0 deletions