[css-syntax] problem with consuming qualified rule

Hi,

5.4.3. Consume a qualified rule

Create a new qualified rule with its prelude initially set to an empty 
list, ...

When coming from 5.3.3.

3. If the current input token is an <EOF-token>, return a syntax error.
    ...
    Otherwise, consume a qualified rule and let rule be the return
    value. If nothing was returned, return a syntax error.

I think, in step 3. the current input token has to be reconsumed before 
consuming a qualified rule.

Then my remark in my mail 'problem with consume list of rules':
 > The same applies to 5.4.1
 > anything else
 >
 > also reconsuming the current input token before consuming a qualified 
 > rule.

does not apply, leavin only the problem with the at-keyword rule and the 
puzzling CDO/CDC stuff.

-- 
Johannes Koch
In te domine speravi; non confundar in aeternum.
                             (Te Deum, 4th cent.)

Received on Tuesday, 4 March 2014 22:03:07 UTC