2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-22 19:08:59 +00:00

Fix outdated comment in QPDFTokenizer.hh

This commit is contained in:
Jay Berkenbilt 2020-10-22 18:59:06 -04:00
parent 8a11feacc3
commit 802de87c30

View File

@ -168,17 +168,11 @@ class QPDFTokenizer
// Calling this method puts the tokenizer in a state for reading
// inline images. You should call this method after reading the
// character following the ID operator. In that state, it will
// return all data up to BUT NOT INCLUDING the next EI token. This
// is a difference in behavior from the legacy version. After you
// call this method, the next call to readToken (or the token
// created next time getToken returns true) will either be
// return all data up to BUT NOT INCLUDING the next EI token.
// After you call this method, the next call to readToken (or the
// token created next time getToken returns true) will either be
// tt_inline_image or tt_bad. This is the only way readToken
// returns a tt_inline_image token. The older version of this
// method that takes does not take a PointerHolder<InputSource>
// will always end the inline image the first time it sees
// something that looks like an EI operator and will include the
// EI operator in the token. It is being maintained for backward
// compatibility only and will likely be removed in the future.
// returns a tt_inline_image token.
QPDF_DLL
void expectInlineImage(PointerHolder<InputSource> input);