aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFTokenizer.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/qpdf/QPDFTokenizer.hh b/include/qpdf/QPDFTokenizer.hh
index ec496d5f..d7acacd4 100644
--- a/include/qpdf/QPDFTokenizer.hh
+++ b/include/qpdf/QPDFTokenizer.hh
@@ -216,13 +216,14 @@ class QPDFTokenizer
st_number,
st_real,
st_decimal,
-
st_name_hex1,
st_name_hex2,
+ st_before_token,
st_token_ready
};
void handleCharacter(char);
+ void inBeforeToken(char);
void inTop(char);
void inSpace(char);
void inComment(char);
@@ -257,6 +258,8 @@ class QPDFTokenizer
std::string val;
std::string raw_val;
std::string error_message;
+ bool before_token;
+ bool in_token;
bool unread_char;
char char_to_unread;
size_t inline_image_bytes;