xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mor...@apache.org
Subject cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/compiler xpath.lex
Date Wed, 05 Dec 2001 11:09:02 GMT
morten      01/12/05 03:09:02

  Modified:    java/src/org/apache/xalan/xsltc/compiler xpath.lex
  Log:
  Reverting previous putback.
  
  Revision  Changes    Path
  1.6       +16 -16    xml-xalan/java/src/org/apache/xalan/xsltc/compiler/xpath.lex
  
  Index: xpath.lex
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/xpath.lex,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- xpath.lex	2001/12/04 10:27:45	1.5
  +++ xpath.lex	2001/12/05 11:09:02	1.6
  @@ -1,5 +1,5 @@
  -/*
  - * @(#)$Id: xpath.lex,v 1.5 2001/12/04 10:27:45 morten Exp $
  +#/*
  + * @(#)$Id: xpath.lex,v 1.6 2001/12/05 11:09:02 morten Exp $
    *
    * The Apache Software License, Version 1.1
    *
  @@ -91,7 +91,7 @@
   "-"                      { return new Symbol(sym.MINUS); }
   "div"                    { return new Symbol(sym.DIV); }
   "mod"                    { return new Symbol(sym.MOD); }
  -":"                     { return new Symbol(sym.DCOLON); }
  +"::"                     { return new Symbol(sym.DCOLON); }
   ","                      { return new Symbol(sym.COMMA); }
   "@"                      { return new Symbol(sym.ATSIGN); }
   ".."                     { return new Symbol(sym.DDOT); }
  @@ -117,19 +117,19 @@
   "processing-instruction"+[ \t\r\n\f]+"()" { return new Symbol(sym.PI); }
   "or"                     { return new Symbol(sym.OR); }
   "and"                    { return new Symbol(sym.AND); }
  -"child:"                { return new Symbol(sym.CHILD); }
  -"attribute:"            { return new Symbol(sym.ATTRIBUTE); }
  -"ancestor:"             { return new Symbol(sym.ANCESTOR); }
  -"ancestor-or-self:"     { return new Symbol(sym.ANCESTORORSELF); }
  -"descendant:"           { return new Symbol(sym.DESCENDANT); }
  -"descendant-or-self:"   { return new Symbol(sym.DESCENDANTORSELF); }
  -"following:"            { return new Symbol(sym.FOLLOWING); }
  -"following-sibling:"    { return new Symbol(sym.FOLLOWINGSIBLING); }
  -"namespace:"            { return new Symbol(sym.NAMESPACE); }
  -"parent:"               { return new Symbol(sym.PARENT); }
  -"preceding:"            { return new Symbol(sym.PRECEDING); }
  -"preceding-sibling:"    { return new Symbol(sym.PRECEDINGSIBLING); }
  -"self:"                 { return new Symbol(sym.SELF); }
  +"child"                  { return new Symbol(sym.CHILD); }
  +"attribute"              { return new Symbol(sym.ATTRIBUTE); }
  +"ancestor"               { return new Symbol(sym.ANCESTOR); }
  +"ancestor-or-self"       { return new Symbol(sym.ANCESTORORSELF); }
  +"descendant"             { return new Symbol(sym.DESCENDANT); }
  +"descendant-or-self"     { return new Symbol(sym.DESCENDANTORSELF); }
  +"following"              { return new Symbol(sym.FOLLOWING); }
  +"following-sibling"      { return new Symbol(sym.FOLLOWINGSIBLING); }
  +"namespace"              { return new Symbol(sym.NAMESPACE); }
  +"parent"                 { return new Symbol(sym.PARENT); }
  +"preceding"              { return new Symbol(sym.PRECEDING); }
  +"preceding-sibling"      { return new Symbol(sym.PRECEDINGSIBLING); }
  +"self"                   { return new Symbol(sym.SELF); }
   "["                      { return new Symbol(sym.LBRACK); }
   "]"                      { return new Symbol(sym.RBRACK); }
   "("                      { return new Symbol(sym.LPAREN); }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message