diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-15 18:34:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-15 18:34:00 +0200 |
commit | f96313d16163ce66c2fa04c99fa25b7c6da1c5b1 (patch) | |
tree | de25e8b5652275718ea141b8bc59c0eabe71d4e4 /include | |
parent | dbd093176ee8d2185205e7d29fcd0949c074dc85 (diff) |
Fix previous commit
Change-Id: I56b5212595f7750965a7620498fb063422f2eae0
Diffstat (limited to 'include')
-rw-r--r-- | include/formula/tokenarray.hxx | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/include/formula/tokenarray.hxx b/include/formula/tokenarray.hxx index 991621d302d0..1050047af137 100644 --- a/include/formula/tokenarray.hxx +++ b/include/formula/tokenarray.hxx @@ -123,6 +123,14 @@ protected: /// Also used by the compiler. The token MUST had been allocated with new! FormulaToken* Add( FormulaToken* ); +public: + enum ReplaceMode + { + BACKWARD_CODE_ONLY, ///< offset goes backward, replacement only in pCode + FORWARD_CODE_AND_RPN ///< offset goes forward, replacement in pCode and RPN + }; + +protected: /** Also used by the compiler. The token MUST had been allocated with new! @param nOffset If eMode==BACKWARD_CODE_ONLY negative offset of token, 0==last, @@ -150,12 +158,6 @@ protected: { nMode = GetCombinedBitsRecalcMode() | nBits; } public: - enum ReplaceMode - { - BACKWARD_CODE_ONLY, ///< offset goes backward, replacement only in pCode - FORWARD_CODE_AND_RPN ///< offset goes forward, replacement in pCode and RPN - }; - FormulaTokenArray(); /// Assignment with references to FormulaToken entries (not copied!) FormulaTokenArray( const FormulaTokenArray& ); |