2002/css-validator/org/w3c/css/parser/analyzer CssParser.jj,1.47,1.48

Update of /sources/public/2002/css-validator/org/w3c/css/parser/analyzer
In directory hutz:/tmp/cvs-serv24907

Modified Files:
	CssParser.jj 
Log Message:
fixed bug reported in
http://lists.w3.org/Archives/Public/www-validator-css/2009Feb/0033.html

The definition of TILDE taken form CSS3 selector grammar was interacting
with the recognition of '~=' (INCLUDES).


Index: CssParser.jj
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/analyzer/CssParser.jj,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- CssParser.jj	10 Feb 2009 14:14:58 -0000	1.47
+++ CssParser.jj	11 Feb 2009 21:45:08 -0000	1.48
@@ -10,7 +10,7 @@
 options {
     IGNORE_CASE  = true;
     STATIC = false;
-    /*
+    /*    
           DEBUG_TOKEN_MANAGER = true; 
 	  DEBUG_PARSER = true;      
     */
@@ -394,7 +394,7 @@
 {
     < CDO : "<!--" >
   | < CDC : "-->" >
-  | < INCLUDES  : "~=" >
+  | < INCLUDES  : <TILDE> "=" >
   | < DASHMATCH : "|=" >
 }
 

Received on Wednesday, 11 February 2009 21:45:23 UTC