Skip to content

Commit db8993e

Browse files
committed
Remove the unused 'next-block-or-statement' error mode.
--HG-- extra : rebase_source : f706034493cb6a4e2e108d66704ed0b3cdf3a531
1 parent 4c4d232 commit db8993e

2 files changed

Lines changed: 14 additions & 73 deletions

File tree

css3-syntax/Overview.html

Lines changed: 14 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -302,20 +302,17 @@ <h2 class="no-num no-toc" id=contents> Table of contents</h2>
302302
<li><a href="#next-declaration-error-mode"><span class=secno>3.6.11.
303303
</span> Next-declaration error mode</a>
304304

305-
<li><a href="#next-block-or-statement-error-mode"><span
306-
class=secno>3.6.12. </span> Next-block-or-statement error mode</a>
307-
308-
<li><a href="#consume-a-primitive-"><span class=secno>3.6.13. </span>
305+
<li><a href="#consume-a-primitive-"><span class=secno>3.6.12. </span>
309306
Consume a primitive </a>
310307

311-
<li><a href="#consume-a-simple-block"><span class=secno>3.6.14.
308+
<li><a href="#consume-a-simple-block"><span class=secno>3.6.13.
312309
</span> Consume a simple block</a>
313310

314-
<li><a href="#consume-a-function"><span class=secno>3.6.15. </span>
311+
<li><a href="#consume-a-function"><span class=secno>3.6.14. </span>
315312
Consume a function</a>
316313

317314
<li><a href="#switch-to-the-current-rules-content-mode"><span
318-
class=secno>3.6.16. </span> Switch to the current rule's content
315+
class=secno>3.6.15. </span> Switch to the current rule's content
319316
mode</a>
320317
</ul>
321318

@@ -2499,33 +2496,7 @@ <h4 id=next-declaration-error-mode><span class=secno>3.6.11. </span> <dfn
24992496
the return value. Remain in this mode.
25002497
</dl>
25012498

2502-
<h4 id=next-block-or-statement-error-mode><span class=secno>3.6.12. </span>
2503-
<dfn id=next-block-or-statement-error-mode0>Next-block-or-statement error
2504-
mode</dfn></h4>
2505-
2506-
<p> Consume the <a href="#next-input-token"><i>next input token</i></a>.
2507-
2508-
<dl>
2509-
<dt>semicolon token
2510-
2511-
<dd> Do nothing. <a
2512-
href="#switch-to-the-current-rules-content-mode0"><i>Switch to the
2513-
current rule's content mode</i></a>.
2514-
2515-
<dt>{ token
2516-
2517-
<dd> <a href="#consume-a-primitive"><i>Consume a primitive</i></a>. Ignore
2518-
the return value. <a
2519-
href="#switch-to-the-current-rules-content-mode0"><i>Switch to the
2520-
current rule's content mode</i></a>.
2521-
2522-
<dt>anything else
2523-
2524-
<dd> <a href="#consume-a-primitive"><i>Consume a primitive</i></a>. Ignore
2525-
the return value. Remain in this mode.
2526-
</dl>
2527-
2528-
<h4 id=consume-a-primitive-><span class=secno>3.6.13. </span> <dfn
2499+
<h4 id=consume-a-primitive-><span class=secno>3.6.12. </span> <dfn
25292500
id=consume-a-primitive>Consume a primitive</dfn></h4>
25302501

25312502
<p> This section describes how to <a href="#consume-a-primitive"><i>consume
@@ -2542,7 +2513,7 @@ <h4 id=consume-a-primitive-><span class=secno>3.6.13. </span> <dfn
25422513
<p> Otherwise, return the <a href="#current-input-token"><i>current input
25432514
token</i></a>.
25442515

2545-
<h4 id=consume-a-simple-block><span class=secno>3.6.14. </span> <dfn
2516+
<h4 id=consume-a-simple-block><span class=secno>3.6.13. </span> <dfn
25462517
id=consume-a-simple-block0>Consume a simple block</dfn></h4>
25472518

25482519
<p> This section describes how to <a
@@ -2574,7 +2545,7 @@ <h4 id=consume-a-simple-block><span class=secno>3.6.14. </span> <dfn
25742545
href="#current-block"><i>current block</i></a>.
25752546
</dl>
25762547

2577-
<h4 id=consume-a-function><span class=secno>3.6.15. </span> <dfn
2548+
<h4 id=consume-a-function><span class=secno>3.6.14. </span> <dfn
25782549
id=consume-a-function0>Consume a function</dfn></h4>
25792550

25802551
<p> This section describes how to <a href="#consume-a-function0"><i>consume
@@ -2606,7 +2577,7 @@ <h4 id=consume-a-function><span class=secno>3.6.15. </span> <dfn
26062577
append the returned value to the value of the <i>current argument</i>.
26072578
</dl>
26082579

2609-
<h4 id=switch-to-the-current-rules-content-mode><span class=secno>3.6.16.
2580+
<h4 id=switch-to-the-current-rules-content-mode><span class=secno>3.6.15.
26102581
</span> <dfn id=switch-to-the-current-rules-content-mode0>Switch to the
26112582
current rule's content mode</dfn></h4>
26122583

@@ -2923,19 +2894,19 @@ <h2 class=no-num id=index> Index</h2>
29232894
title="Comment state"><strong>3.4.8.</strong></a>
29242895

29252896
<li>Consume a function, <a href="#consume-a-function0"
2926-
title="Consume a function"><strong>3.6.15.</strong></a>
2897+
title="Consume a function"><strong>3.6.14.</strong></a>
29272898

29282899
<li>Consume an escaped character, <a href="#consume-an-escaped-character0"
29292900
title="Consume an escaped character"><strong>3.4.26.</strong></a>
29302901

29312902
<li>Consume a primitive, <a href="#consume-a-primitive"
2932-
title="Consume a primitive"><strong>3.6.13.</strong></a>
2903+
title="Consume a primitive"><strong>3.6.12.</strong></a>
29332904

29342905
<li>Consume a simple block, <a href="#consume-a-simple-block0"
2935-
title="Consume a simple block"><strong>3.6.14.</strong></a>
2906+
title="Consume a simple block"><strong>3.6.13.</strong></a>
29362907

29372908
<li>current block, <a href="#current-block"
2938-
title="current block"><strong>3.6.14.</strong></a>
2909+
title="current block"><strong>3.6.13.</strong></a>
29392910

29402911
<li>current declaration, <a href="#current-declaration"
29412912
title="current declaration"><strong>3.6.1.</strong></a>
@@ -2973,7 +2944,7 @@ <h2 class=no-num id=index> Index</h2>
29732944
title="Double-quote-string state"><strong>3.4.4.</strong></a>
29742945

29752946
<li>ending token, <a href="#ending-token"
2976-
title="ending token"><strong>3.6.14.</strong></a>
2947+
title="ending token"><strong>3.6.13.</strong></a>
29772948

29782949
<li>end of the range, <a href="#end-of-the-range"
29792950
title="end of the range"><strong>3.4.27.</strong></a>
@@ -3012,10 +2983,6 @@ <h2 class=no-num id=index> Index</h2>
30122983
<li>Next-block error mode, <a href="#next-block-error-mode0"
30132984
title="Next-block error mode"><strong>3.6.10.</strong></a>
30142985

3015-
<li>Next-block-or-statement error mode, <a
3016-
href="#next-block-or-statement-error-mode0"
3017-
title="Next-block-or-statement error mode"><strong>3.6.12.</strong></a>
3018-
30192986
<li>Next-declaration error mode, <a href="#next-declaration-error-mode0"
30202987
title="Next-declaration error mode"><strong>3.6.11.</strong></a>
30212988

@@ -3081,7 +3048,7 @@ <h2 class=no-num id=index> Index</h2>
30813048

30823049
<li>Switch to the current rule's content mode, <a
30833050
href="#switch-to-the-current-rules-content-mode0"
3084-
title="Switch to the current rule's content mode"><strong>3.6.16.</strong></a>
3051+
title="Switch to the current rule's content mode"><strong>3.6.15.</strong></a>
30853052

30863053

30873054
<li>Top-level mode, <a href="#top-level-mode"

css3-syntax/Overview.src.html

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2524,32 +2524,6 @@ <h4>
25242524
</dl>
25252525

25262526

2527-
<h4>
2528-
<dfn>Next-block-or-statement error mode</dfn></h4>
2529-
2530-
<p>
2531-
Consume the <i>next input token</i>.
2532-
2533-
<dl>
2534-
<dt>semicolon token
2535-
<dd>
2536-
Do nothing.
2537-
<i>Switch to the current rule's content mode</i>.
2538-
2539-
<dt>{ token
2540-
<dd>
2541-
<i>Consume a primitive</i>.
2542-
Ignore the return value.
2543-
<i>Switch to the current rule's content mode</i>.
2544-
2545-
<dt>anything else
2546-
<dd>
2547-
<i>Consume a primitive</i>.
2548-
Ignore the return value.
2549-
Remain in this mode.
2550-
</dl>
2551-
2552-
25532527
<h4>
25542528
<dfn>Consume a primitive</dfn>
25552529

0 commit comments

Comments
 (0)