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>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:06 UTC