W3C home > Mailing lists > Public > www-validator-cvs@w3.org > October 2012

2002/css-validator/org/w3c/css/parser/analyzer CssParser.java,1.87,1.88

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 10 Oct 2012 13:58:59 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1TLwoN-0000T7-Tx@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/parser/analyzer
In directory hutz:/tmp/cvs-serv1770

Modified Files:
	CssParser.java 
Log Message:
regen

Index: CssParser.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/analyzer/CssParser.java,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -d -r1.87 -r1.88
--- CssParser.java	10 Oct 2012 07:51:49 -0000	1.87
+++ CssParser.java	10 Oct 2012 13:58:57 -0000	1.88
@@ -1548,18 +1548,51 @@
   CssSelectors selector = new CssSelectors(ac, next);
     selector.setAtRule(getAtRule());
     Token n;
+    Token op = null;
     try {
       switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
       case IDENT:
         n = jj_consume_token(IDENT);
-      selector.addType(new TypeSelector(convertIdent(n.image)));
+      CssIdent ident = new CssIdent();
+      ident.set(convertIdent(n.image), ac);
[...1042 lines suppressed...]
   }
 
@@ -4495,7 +4537,7 @@
     token = new Token();
     jj_ntk = -1;
     jj_gen = 0;
-    for (int i = 0; i < 154; i++) jj_la1[i] = -1;
+    for (int i = 0; i < 156; i++) jj_la1[i] = -1;
     for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
   }
 
@@ -4612,7 +4654,7 @@
       la1tokens[jj_kind] = true;
       jj_kind = -1;
     }
-    for (int i = 0; i < 154; i++) {
+    for (int i = 0; i < 156; i++) {
       if (jj_la1[i] == jj_gen) {
         for (int j = 0; j < 32; j++) {
           if ((jj_la1_0[i] & (1<<j)) != 0) {
Received on Wednesday, 10 October 2012 13:59:01 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:52 UTC