geirm       00/12/19 05:34:41

  Modified:    src/java/org/apache/velocity/runtime/parser Parser.jjt
  Log:
  Added support for escaping the ! in references.  Discussion will follow on list.
  
  Revision  Changes    Path
  1.43      +2 -2      
jakarta-velocity/src/java/org/apache/velocity/runtime/parser/Parser.jjt
  
  Index: Parser.jjt
  ===================================================================
  RCS file: 
/home/cvs/jakarta-velocity/src/java/org/apache/velocity/runtime/parser/Parser.jjt,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- Parser.jjt        2000/12/19 11:46:54     1.42
  +++ Parser.jjt        2000/12/19 13:34:40     1.43
  @@ -120,7 +120,7 @@
    *
    * @author <a href="mailto:[EMAIL PROTECTED]">Jason van Zyl</a>
    * @author <a href="mailto:[EMAIL PROTECTED]">Geir Magnusson Jr.</a>
  - * @version $Id: Parser.jjt,v 1.42 2000/12/19 11:46:54 geirm Exp $ 
  + * @version $Id: Parser.jjt,v 1.43 2000/12/19 13:34:40 geirm Exp $ 
   */
   public class Parser
   {
  @@ -593,7 +593,7 @@
           }            
       }
   
  -|   <DOLLARBANG: ("\\")* "$!"> 
  +|   <DOLLARBANG: ("\\")* "$" ("\\")* "!"> 
       { 
           if (! inComment)
           {
  
  
  

Reply via email to