aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2020-10-23 00:59:06 +0200
committerJay Berkenbilt <ejb@ql.org>2020-10-23 12:39:42 +0200
commit802de87c308cbcc0d3fb473a0d646a8ba1dd97c7 (patch)
tree40ba647de9e554f9ceee1a6dbcfbf7f6622c060a /include
parent8a11feacc32aa5dcf0130d7499535624805fc87e (diff)
downloadqpdf-802de87c308cbcc0d3fb473a0d646a8ba1dd97c7.tar.zst
Fix outdated comment in QPDFTokenizer.hh
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFTokenizer.hh14
1 files changed, 4 insertions, 10 deletions
diff --git a/include/qpdf/QPDFTokenizer.hh b/include/qpdf/QPDFTokenizer.hh
index abfb34c0..508ebdae 100644
--- a/include/qpdf/QPDFTokenizer.hh
+++ b/include/qpdf/QPDFTokenizer.hh
@@ -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);