When parsing a faulty file or stream, exceptions are often thrown with an empty file names, which are then replaced with in the file_parser_error() constructor. It would help our project a lot, if there was a way to pass the name of the file or a symbolic name of the input stream to the parser functions, so that this field would be filled in in the exception and shown to the user.
When parsing a faulty file or stream, exceptions are often thrown with an empty file names, which are then replaced with in the file_parser_error() constructor. It would help our project a lot, if there was a way to pass the name of the file or a symbolic name of the input stream to the parser functions, so that this field would be filled in in the exception and shown to the user.