Re: [css-syntax][selectors] Added a COLUMN token to Syntax

(13/04/04 18:13), Simon Sapin wrote:
> Le 04/04/2013 02:06, Tab Atkins Jr. a écrit :
>> I just added a COLUMN token to the Syntax draft, matching "||".  It's
>> needed for Selectors, so it can maintain LL(1).  (Otherwise, seeing
>> "*" followed by "|" is ambiguous until you look at the *next* token.)
> 
> Hi,
> 
> I’m not objecting, but shouldn’t LL(1) be only an implementation
> concern? AFAICT, it is not detectable whether an implementation parses
> "||" as a single token, or looks ahead for two delim tokens.

x |/**/| y ?

I agree that maintaining LL(1) isn't too important but I don't see much
harm in introducing a new token either.


Cheers,
Kenny
-- 
Web Specialist, Opera Sphinx Game Force, Oupeng Browser, Beijing
Try Oupeng: http://www.oupeng.com/

Received on Friday, 5 April 2013 03:55:48 UTC