Skip to content

Commit

Permalink
Add EOF check to prevent errors in stricter languages than English. F…
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Jun 17, 2015
1 parent b266a43 commit d9edb27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion url.bs
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,8 @@ steps:
<li><p>If <var>dots seen</var> is 1 or 3, increase
<var>piece pointer</var> by one.

<li><p>Increase <var>pointer</var> by one.
<li><p>If <a>c</a> is not the <a>EOF code point</a>, increase <var>pointer</var> by
one.

<li><p>If <var>dots seen</var> is 3 and <a>c</a> is not
the <a>EOF code point</a>,
Expand Down
3 changes: 2 additions & 1 deletion url.html
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,8 @@ <h3 class="heading settled" data-level="3.3" id="host-parsing"><span class="secn

</p>
<li>
<p>Increase <var>pointer</var> by one.
<p>If <a data-link-type="dfn" href="#c">c</a> is not the <a data-link-type="dfn" href="#eof-code-point">EOF code point</a>, increase <var>pointer</var> by
one.

</p>
<li>
Expand Down

0 comments on commit d9edb27

Please sign in to comment.