mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 10:58:58 +00:00
Fix commit b45420a
This commit is contained in:
parent
fc4feb6f1a
commit
b0c1ae05a3
@ -137,7 +137,7 @@ QPDFTokenizer::presentCharacter(char ch)
|
||||
{
|
||||
handleCharacter(ch);
|
||||
|
||||
if (this->in_token) { //} && !this->unread_char) {
|
||||
if (this->in_token) {
|
||||
this->raw_val += ch;
|
||||
}
|
||||
}
|
||||
@ -145,9 +145,9 @@ QPDFTokenizer::presentCharacter(char ch)
|
||||
void
|
||||
QPDFTokenizer::handleCharacter(char ch)
|
||||
{
|
||||
// State machine is implemented such that some characters may be
|
||||
// handled more than once. This happens whenever you have to use
|
||||
// the character that caused a state change in the new state.
|
||||
// State machine is implemented such that the final character may not be
|
||||
// handled. This happens whenever you have to use a character from the
|
||||
// next token to detect the end of the current token.
|
||||
|
||||
switch (this->state) {
|
||||
case st_top:
|
||||
|
Loading…
Reference in New Issue
Block a user