[Bug 17452] WebIDL: at some places in the grammar you probably intend mandatory whitespace

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17452

Cameron McCormack <cam@mcc.id.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Cameron McCormack <cam@mcc.id.au> 2012-06-22 06:24:45 UTC ---
"fooimplementsbarimplementsbluv" must be tokenised as a single identifier
token, because of the rule that says to tokenise the longest thing it can:

  When tokenizing, the longest possible match MUST be used. For example, if the
  input text is “a1”, it is tokenized as a single identifier, and not as a
  separate identifier and integer. If the longest possible match could match
both
  an identifier and one of the quoted terminal symbols from the grammar, it
MUST
  be tokenized as the quoted terminal symbol. Thus, the input text “long” is
  tokenized as the quoted terminal symbol "long" rather than an identifier
called
  “long”.

So I don't think there is a need to annotate in the grammar where explicit
white space is required.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Friday, 22 June 2012 06:24:48 UTC