Skip to content

Commit 6a67fdf

Browse files
bathostabatkins
authored andcommitted
Related to w3c#1821, the change to "check if two code points are a valid escape" makes part of "consume an escaped code point" unreachable.
1 parent a31c99f commit 6a67fdf

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

css-syntax/Overview.bs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1274,7 +1274,7 @@ Consume an escaped code point</h4>
12741274
This section describes how to <dfn>consume an escaped code point</dfn>.
12751275
It assumes that the U+005C REVERSE SOLIDUS (\) has already been consumed
12761276
and that the next input code point has already been verified
1277-
to not be a <a>newline</a>.
1277+
to not be a <a>newline</a> or EOF.
12781278
It will return a <a>code point</a>.
12791279

12801280
Consume the <a>next input code point</a>.
@@ -1294,11 +1294,6 @@ Consume an escaped code point</h4>
12941294
return U+FFFD REPLACEMENT CHARACTER (�).
12951295
Otherwise, return the <a>code point</a> with that value.
12961296

1297-
<dt>EOF code point
1298-
<dd>
1299-
This is a <a>parse error</a>.
1300-
Return U+FFFD REPLACEMENT CHARACTER (�).
1301-
13021297
<dt>anything else
13031298
<dd>
13041299
Return the <a>current input code point</a>.

0 commit comments

Comments
 (0)