-
Notifications
You must be signed in to change notification settings - Fork 0
Description
With the current implementation the parser is completely stopping when it finds an error. This can be quite cumbersome as sometimes you have multiple errors in the same file which means that you need to parse it, find the errors and parse it again (and do the same thing multiple times).
It would be a lot easier if the error handling would work so that all of the errors are being reported.
The problem with this is of course that when an error is being detected the parser must be able to "recover" from this error so that it does not spit out thousands of errors as it still tries to parser the file in a specific way.
Maybe it would be sensible to create a custom error handler for a parser and when it detects an error it is correctly handling the situation.