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

2002/css-validator/org/w3c/css/parser/analyzer CssParser.jj,1.62,1.63

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 17 Feb 2009 22:06:49 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1LZY5Z-0007OZ-Kg@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/parser/analyzer
In directory hutz:/tmp/cvs-serv28409

Modified Files:
	CssParser.jj 
Log Message:
putting <EOF> back in the try statement to avoid having an exception trying
to reach the end of file surfacing at the wrong place.


Index: CssParser.jj
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/analyzer/CssParser.jj,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- CssParser.jj	17 Feb 2009 16:54:38 -0000	1.62
+++ CssParser.jj	17 Feb 2009 22:06:47 -0000	1.63
@@ -638,11 +638,11 @@
 	    ( importDeclaration() ( ignoreStatement() ) )*
 	    ( namespaceDeclaration() ( ignoreStatement() ) )*
 	    afterImportDeclaration()
+	    <EOF>
 	 } catch (TokenMgrError err) {
    addError (new ParseException(ac.getMsg().getString("generator.unrecognize")),
 	     err.getMessage());
     }
-    <EOF>
 }
 
 void charset() :
Received on Tuesday, 17 February 2009 22:06:58 GMT

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