dbertoni    00/05/31 09:57:39

  Modified:    c/src/XPath XPathProcessorImpl.cpp
  Log:
  Oops, fixed regression with appropriate eMATCH_ANY_ANCESTOR opcode.
  
  Revision  Changes    Path
  1.13      +3 -3      xml-xalan/c/src/XPath/XPathProcessorImpl.cpp
  
  Index: XPathProcessorImpl.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/XPathProcessorImpl.cpp,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- XPathProcessorImpl.cpp    2000/05/31 16:23:42     1.12
  +++ XPathProcessorImpl.cpp    2000/05/31 16:57:37     1.13
  @@ -2097,9 +2097,9 @@
                          XalanDOMString(") needs to be quoted!"));
        }
   }
  -  
   
   
  +
   void
   XPathProcessorImpl::Number()
   {
  @@ -2171,7 +2171,7 @@
                        // Tell how long the step is without the predicate
                        theArgs[0] = 4;
   
  -                     
m_expression->appendOpCode(XPathExpression::eMATCH_ANY_ANCESTOR,
  +                     
m_expression->appendOpCode(XPathExpression::eMATCH_ANY_ANCESTOR_WITH_PREDICATE,
                                                                           
theArgs);
   
                        
m_expression->appendOpCode(XPathExpression::eNODETYPE_ROOT);
  @@ -2192,7 +2192,7 @@
   
                if(lookahead('/', 1) == true)
                {
  -                     
m_expression->appendOpCode(XPathExpression::eMATCH_ANY_ANCESTOR,
  +                     
m_expression->appendOpCode(XPathExpression::eMATCH_ANY_ANCESTOR_WITH_PREDICATE,
                                                                           
theArgs);
                }
                else
  
  
  

Reply via email to