Commit 802de87c308cbcc0d3fb473a0d646a8ba1dd97c7
1 parent
8a11feac
Fix outdated comment in QPDFTokenizer.hh
Showing
1 changed file
with
4 additions
and
10 deletions
include/qpdf/QPDFTokenizer.hh
| ... | ... | @@ -168,17 +168,11 @@ class QPDFTokenizer |
| 168 | 168 | // Calling this method puts the tokenizer in a state for reading |
| 169 | 169 | // inline images. You should call this method after reading the |
| 170 | 170 | // character following the ID operator. In that state, it will |
| 171 | - // return all data up to BUT NOT INCLUDING the next EI token. This | |
| 172 | - // is a difference in behavior from the legacy version. After you | |
| 173 | - // call this method, the next call to readToken (or the token | |
| 174 | - // created next time getToken returns true) will either be | |
| 171 | + // return all data up to BUT NOT INCLUDING the next EI token. | |
| 172 | + // After you call this method, the next call to readToken (or the | |
| 173 | + // token created next time getToken returns true) will either be | |
| 175 | 174 | // tt_inline_image or tt_bad. This is the only way readToken |
| 176 | - // returns a tt_inline_image token. The older version of this | |
| 177 | - // method that takes does not take a PointerHolder<InputSource> | |
| 178 | - // will always end the inline image the first time it sees | |
| 179 | - // something that looks like an EI operator and will include the | |
| 180 | - // EI operator in the token. It is being maintained for backward | |
| 181 | - // compatibility only and will likely be removed in the future. | |
| 175 | + // returns a tt_inline_image token. | |
| 182 | 176 | QPDF_DLL |
| 183 | 177 | void expectInlineImage(PointerHolder<InputSource> input); |
| 184 | 178 | ... | ... |