Skip to content
Snippets Groups Projects
Commit a1014f81 authored by Sven M. Hallberg's avatar Sven M. Hallberg
Browse files

improve handling of parse errors in xref stream data

Improve on the bugfix in commit a5abf1e2:

- Reinstate the assert for 'res->ast != NULL'. If it fails, there is a bug
  in the parser, not an error in the input file.
- Provide a distinct error message for the case where p_xref fails on a
  cross-reference stream because of invalid data.
- Only skip storing the invalid section. Try to follow the /Prev entry in
  the stream dictionary to find more sections.
parent 512de3c2
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment