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

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

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 11 Feb 2009 23:14:48 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1LXOI4-0004ej-Dg@lionel-hutz.w3.org>

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

Modified Files:
	CssParser.jj 
Log Message:
color fix


Index: CssParser.jj
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/analyzer/CssParser.jj,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- CssParser.jj	11 Feb 2009 21:45:08 -0000	1.48
+++ CssParser.jj	11 Feb 2009 23:14:46 -0000	1.49
@@ -10,7 +10,7 @@
 options {
     IGNORE_CASE  = true;
     STATIC = false;
-    /*    
+    /*
           DEBUG_TOKEN_MANAGER = true; 
 	  DEBUG_PARSER = true;      
     */
@@ -1926,8 +1926,14 @@
 {Token n; 
 }
 {
- n=<HASHIDENT>|n=<HASH> { n.image = Util.strip(n.image);
- setValue(new org.w3c.css.values.CssColor(), exp, ' ', n, HASH); }
+ n=<HASHIDENT> { 
+     n.image = Util.strip(n.image);
+     setValue(new org.w3c.css.values.CssColor(), exp, ' ', n, HASH); 
+ }
+ |n=<HASH> { 
+     n.image = Util.strip(n.image);
+     setValue(new org.w3c.css.values.CssColor(), exp, ' ', n, HASH);
+ }
 }
 
 /*
Received on Wednesday, 11 February 2009 23:14:59 GMT

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