[csswg-drafts] [css-syntax] 4.3.5 Consume a string token: double parse error

waldbaerkoch has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-syntax] 4.3.5 Consume a string token: double parse error ==
Input:
```
"foo\<EOF>
```
`"` triggers 4.3.5 Consume a string token. There, after having consumed `foo`:
Next code point is
* U+005C REVERSE SOLIDUS (\\)
  * If the next input code point is EOF _(yes)_, this is a parse error _(1st time)_; do nothing. 

Next code point is 
* EOF
  * This is a parse error _(2nd time)_. Return the <string-token>.

So parse error is invoked twice. The occurence in U+005C REVERSE SOLIDUS (\\) is not necessary.

Johannes

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1494 using your GitHub account

Received on Friday, 2 June 2017 13:33:24 UTC