W3C home > Mailing lists > Public > www-style@w3.org > February 1999

CDC in grammar

From: Ian Hickson <py8ieh@bath.ac.uk>
Date: Wed, 24 Feb 1999 21:49:28 +0000 (BST)
To: www-style <www-style@w3.org>
Message-ID: <Pine.GSO.4.04.9902242146030.4633-100000@ss1.bath.ac.uk>

The CSS2 lexical scanner includes:

"<!--"                  {return CDO;}
"-->"                   {return CDC;}

I suggest that to make this more like HTML's notion of comments, the CDC
lined be changed to allow whitespace between "--" and ">", so that the two
lines would become:

"<!--"                  {return CDO;}
"--"{w}">"              {return CDC;}

-- 
Ian Hickson
Received on Wednesday, 24 February 1999 16:49:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:58 GMT