[css-syntax] Need to check for EOF when testing to see if it's a valid escape.

Thu, 29 May 2014 14:54:55 -0700

author
Tab Atkins Jr. <jackalmage@gmail.com>
date
Thu, 29 May 2014 14:54:55 -0700
changeset 14029
98faa7c16b2f
parent 14028
e9f89ffc6e9c
child 14030
eb235ff51b55

[css-syntax] Need to check for EOF when testing to see if it's a valid escape.

css-syntax/Overview.bs file | annotate | diff | comparison | revisions
css-syntax/Overview.html file | annotate | diff | comparison | revisions
     1.1 --- a/css-syntax/Overview.bs	Fri May 30 06:45:37 2014 +0900
     1.2 +++ b/css-syntax/Overview.bs	Thu May 29 14:54:55 2014 -0700
     1.3 @@ -1492,7 +1492,7 @@
     1.4  	return false.
     1.5  
     1.6  	Otherwise,
     1.7 -	if the second <a>code point</a> is a <a>newline</a>,
     1.8 +	if the second <a>code point</a> is a <a>newline</a> or <a>EOF code point</a>,
     1.9  	return false.
    1.10  
    1.11  	Otherwise, return true.
     2.1 --- a/css-syntax/Overview.html	Fri May 30 06:45:37 2014 +0900
     2.2 +++ b/css-syntax/Overview.html	Thu May 29 14:54:55 2014 -0700
     2.3 @@ -2591,7 +2591,7 @@
     2.4  	return false.</p>
     2.5  
     2.6  <p>Otherwise,
     2.7 -	if the second <a data-link-type=dfn href=#code-point title="code point">code point</a> is a <a data-link-type=dfn href=#newline title=newline>newline</a>,
     2.8 +	if the second <a data-link-type=dfn href=#code-point title="code point">code point</a> is a <a data-link-type=dfn href=#newline title=newline>newline</a> or <a data-link-type=dfn href=#eof-code-point title="eof code point">EOF code point</a>,
     2.9  	return false.</p>
    2.10  
    2.11  <p>Otherwise, return true.</p>

mercurial