diff options
Diffstat (limited to 'xfa/fxfa/fm2js/xfa_fmparse.h')
-rw-r--r-- | xfa/fxfa/fm2js/xfa_fmparse.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xfa/fxfa/fm2js/xfa_fmparse.h b/xfa/fxfa/fm2js/xfa_fmparse.h index 5f8022f270..8f2671d1b0 100644 --- a/xfa/fxfa/fm2js/xfa_fmparse.h +++ b/xfa/fxfa/fm2js/xfa_fmparse.h @@ -15,10 +15,9 @@ class CXFA_FMParse { public: - CXFA_FMParse(); + CXFA_FMParse(const CFX_WideStringC& wsFormcalc, CXFA_FMErrorInfo* pErrorInfo); ~CXFA_FMParse(); - int32_t Init(const CFX_WideStringC& wsFormcalc, CXFA_FMErrorInfo* pErrorInfo); void NextToken(); void Check(XFA_FM_TOKEN op); void Error(uint32_t lineNum, const FX_WCHAR* msg, ...); @@ -51,7 +50,7 @@ class CXFA_FMParse { private: std::unique_ptr<CXFA_FMLexer> m_lexer; CXFA_FMToken* m_pToken; - CXFA_FMErrorInfo* m_pErrorInfo; + CXFA_FMErrorInfo* const m_pErrorInfo; }; #endif // XFA_FXFA_FM2JS_XFA_FMPARSE_H_ |