Re: [CSS21][CSS3] Grammar Error

I should have mentioned, in the grammar in the appendix, not the
grammar in section 4.



On Thu, Sep 2, 2010 at 11:13 AM, Peter Moulder <peter.moulder@monash.edu> wrote:
> On Thu, Sep 02, 2010 at 08:47:06AM +0100, Mark wrote:
>> there's another error in the grammar:-
>>
>> ruleset
>>   : selector [ ',' S* selector ]*
>>     '{' S* declaration? [ ';' S* declaration? ]* '}' S*
>>
>> This rule won't parse 99.9% of existing CSS files. There is a space
>> missing from the front before '{'. It should be:-
>>
>> ruleset
>>   : selector [ ',' S* selector ]*
>>     S* '{' S* declaration? [ ';' S* declaration? ]* '}' S*
>
> selector already includes trailing S* (via the S* at the end of any).
>
> pjrm.
>

Received on Thursday, 2 September 2010 21:36:17 UTC