diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | libqpdf/qpdf/QPDFParser.hh | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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> * Update code and tests so that qpdf's test suite no longer diff --git a/libqpdf/qpdf/QPDFParser.hh b/libqpdf/qpdf/QPDFParser.hh index 7f5f7804..9e2c3c2e 100644 --- a/libqpdf/qpdf/QPDFParser.hh +++ b/libqpdf/qpdf/QPDFParser.hh @@ -32,7 +32,7 @@ class QPDFParser private: // 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 }; struct StackFrame |