Skip to content

Commit

Permalink
[ct] (0) EOF should be explicitly listed in each tokeniser state.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@1684 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed May 23, 2008
1 parent 10f8e47 commit 86932b3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
12 changes: 12 additions & 0 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -43510,6 +43510,12 @@ function receiver(e) {
<dd>Switch to the <a href="#self-closing">self-closing start tag
state</a>.

<dt>EOF

<dd><a href="#parse1">Parse error</a>. Emit the current tag token.
Reconsume the EOF character in the <a href="#data-state">data
state</a>.

<dt>Anything else

<dd><a href="#parse1">Parse error</a>. Reconsume the character in the <a
Expand All @@ -43527,6 +43533,12 @@ function receiver(e) {
<dd>Set the <i>self-closing flag</i> of the current tag token. Emit the
current tag token. Switch to the <a href="#data-state">data state</a>.

<dt>EOF

<dd><a href="#parse1">Parse error</a>. Emit the current tag token.
Reconsume the EOF character in the <a href="#data-state">data
state</a>.

<dt>Anything else

<dd><a href="#parse1">Parse error</a>. Reconsume the character in the <a
Expand Down
10 changes: 10 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -41047,6 +41047,11 @@ function receiver(e) {
<dt>U+002F SOLIDUS (/)</dt>
<dd>Switch to the <span>self-closing start tag state</span>.</dd>

<dt>EOF</dt>
<dd><span>Parse error</span>. Emit the current tag
token. Reconsume the EOF character in the <span>data
state</span>.</dd>

<dt>Anything else</dt>
<dd><span>Parse error</span>. Reconsume the character in
the <span>before attribute name state</span>.</dd>
Expand All @@ -41067,6 +41072,11 @@ function receiver(e) {
<dd>Set the <i>self-closing flag</i> of the current tag
token. Emit the current tag token. Switch to the <span>data
state</span>.</dd>

<dt>EOF</dt>
<dd><span>Parse error</span>. Emit the current tag
token. Reconsume the EOF character in the <span>data
state</span>.</dd>

<dt>Anything else</dt>
<dd><span>Parse error</span>. Reconsume the character in
Expand Down

0 comments on commit 86932b3

Please sign in to comment.