Index: core/include/fpdfapi/fpdf_parser.h |
diff --git a/core/include/fpdfapi/fpdf_parser.h b/core/include/fpdfapi/fpdf_parser.h |
index de32b1fb376d96f681cc71c70e337d77f20e0f46..f57ee5593cc1e95aad0b33b53bd88093b609d3de 100644 |
--- a/core/include/fpdfapi/fpdf_parser.h |
+++ b/core/include/fpdfapi/fpdf_parser.h |
@@ -450,6 +450,24 @@ class CPDF_Parser { |
std::set<FX_DWORD> m_ParsingObjNums; |
friend class CPDF_DataAvail; |
+ |
+ private: |
+ enum class ParserState { |
+ kDefault, |
+ kComment, |
+ kWhitespace, |
+ kString, |
+ kHexString, |
+ kEscapedString, |
+ kXref, |
+ kObjNum, |
+ kPostObjNum, |
+ kGenNum, |
+ kPostGenNum, |
+ kTrailer, |
+ kBeginObj, |
+ kEndObj |
+ }; |
}; |
#define FXCIPHER_NONE 0 |