CDC in grammar

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 UTC