Tweak comment in QPDFParser refactor

This commit is contained in:
Jay Berkenbilt 2023-12-21 15:45:34 -05:00
parent b8fd18ae56
commit bb12a7ff8d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2023-12-21 Jay Berkenbilt <ejb@ql.org>
* From M. Holger: Refactor QPDFParser for performance. See #1059
for a discussion.
2023-12-20 Jay Berkenbilt <ejb@ql.org> 2023-12-20 Jay Berkenbilt <ejb@ql.org>
* Update code and tests so that qpdf's test suite no longer * Update code and tests so that qpdf's test suite no longer

View File

@ -32,7 +32,7 @@ class QPDFParser
private: private:
// Parser state. Note: // Parser state. Note:
// state < st_dictionary_value == (state = st_dictionary_key || state = st_dictionary_value) // state <= st_dictionary_value == (state = st_dictionary_key || state = st_dictionary_value)
enum parser_state_e { st_dictionary_key, st_dictionary_value, st_array }; enum parser_state_e { st_dictionary_key, st_dictionary_value, st_array };
struct StackFrame struct StackFrame