W3C home > Mailing lists > Public > www-validator-cvs@w3.org > February 2009

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

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 11 Feb 2009 21:45:10 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1LXMtK-0006Uz-I5@lionel-hutz.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:08 GMT