dbertoni    01/09/27 08:03:40

  Modified:    c/src/XPath XPathExpression.hpp
  Log:
  32/64-bit fixes.
  
  Revision  Changes    Path
  1.23      +15 -15    xml-xalan/c/src/XPath/XPathExpression.hpp
  
  Index: XPathExpression.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/XPathExpression.hpp,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- XPathExpression.hpp       2001/09/26 20:58:46     1.22
  +++ XPathExpression.hpp       2001/09/27 15:03:39     1.23
  @@ -565,21 +565,6 @@
        };      // enum eOpCodes
   
        /**
  -      * The length is always the opcode position + 1. Length is always 
expressed
  -      * as the opcode+length bytes, so it is always 2 or greater.  This is 
the
  -      * offset from the op code where the length is stored.  It will always
  -      * remain one.
  -      */
  -#if defined(XALAN_INLINE_INITIALIZATION)
  -     static const int        s_opCodeMapLengthIndex = 1;
  -#else
  -     enum eDummy
  -     {
  -             s_opCodeMapLengthIndex = 1
  -     };
  -#endif
  -
  -     /**
         * Exception class thrown when an invalid XPath expression is 
encountered
         */
        class XALAN_XPATH_EXPORT XPathExpressionException : public 
XPathException
  @@ -734,6 +719,21 @@
        typedef TokenQueueType::size_type               TokenQueueSizeType;
        typedef PatternMapType::value_type              PatternMapValueType;
        typedef PatternMapType::size_type               PatternMapSizeType;
  +
  +     /**
  +      * The length is always the opcode position + 1. Length is always 
expressed
  +      * as the opcode+length bytes, so it is always 2 or greater.  This is 
the
  +      * offset from the op code where the length is stored.  It will always
  +      * remain one.
  +      */
  +#if defined(XALAN_INLINE_INITIALIZATION)
  +     static const TokenQueueSizeType         s_opCodeMapLengthIndex = 1;
  +#else
  +     enum eDummy
  +     {
  +             s_opCodeMapLengthIndex = 1
  +     };
  +#endif
   
        explicit
        XPathExpression();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to