W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2019

Re: [csswg-drafts] [css‑syntax] The current definition of `ws*` contains a duplicate path (#4521)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Tue, 19 Nov 2019 21:13:41 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-555717521-1574198020-sysbot+gh@w3.org>
Nope, it's valid as-is. Note that comments do *not* produce tokens, but *can* separate tokens that would form a single token if they were adjacent without the comment.

That is, `foo /**/ bar` contains four tokens - a "foo" ident, a whitespace, a whitespace, and a "bar" ident. The two whitespace tokens match `ws*` together.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4521#issuecomment-555717521 using your GitHub account
Received on Tuesday, 19 November 2019 21:13:43 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 2 July 2022 03:21:25 UTC