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

2002/css-validator/org/w3c/css/parser/analyzer CssParser.java,1.65,1.66

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 25 Feb 2009 00:11:51 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Lc7NP-0000Jo-Rm@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/parser/analyzer
In directory hutz:/tmp/cvs-serv1206

Modified Files:
	CssParser.java 
Log Message:
generated

Index: CssParser.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/analyzer/CssParser.java,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- CssParser.java	24 Feb 2009 23:30:01 -0000	1.65
+++ CssParser.java	25 Feb 2009 00:11:49 -0000	1.66
@@ -601,6 +601,10 @@
                 ParseException e =
                 new ParseException(ac.getMsg().getString("parser.charset"));
                 addError(e, ret);
+            } else if (!reinited && ret.startsWith("@import")) {
+                ParseException e =
+                new ParseException(ac.getMsg().getString("parser.import_not_allowed"));
+                addError(e, ret);
             } else if (!reinited) {
                 ParseException e =
              new ParseException(ac.getMsg().getString("generator.unrecognize"));
Received on Wednesday, 25 February 2009 00:12:01 GMT

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