W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2012

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

From: <bugzilla@jessica.w3.org>
Date: Fri, 22 Jun 2012 06:24:46 +0000
To: public-script-coord@w3.org
Message-Id: <E1ShxIU-0001Ea-AQ@jessica.w3.org>

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
  an identifier and one of the quoted terminal symbols from the grammar, it
  be tokenized as the quoted terminal symbol. Thus, the input text “long” is
  tokenized as the quoted terminal symbol "long" rather than an identifier

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:06 UTC