Skip to content

Commit 057c5df

Browse files
committed
Changed 'next-statement error mode' to 'next-declaration error mode'.
--HG-- extra : rebase_source : c6a41e37b63309324fc3a093b2884312ae9cf1c8
1 parent 5528e7d commit 057c5df

2 files changed

Lines changed: 22 additions & 20 deletions

File tree

css3-syntax/Overview.html

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,8 @@ <h2 class="no-num no-toc" id=contents> Table of contents</h2>
296296
<li><a href="#next-block-error-mode"><span class=secno>3.5.10. </span>
297297
Next-block error mode</a>
298298

299-
<li><a href="#next-statement-error-mode"><span class=secno>3.5.11.
300-
</span> Next-statement error mode</a>
299+
<li><a href="#next-declaration-error-mode"><span class=secno>3.5.11.
300+
</span> next-declaration error mode</a>
301301

302302
<li><a href="#next-block-or-statement-error-mode"><span
303303
class=secno>3.5.12. </span> Next-block-or-statement error mode</a>
@@ -2301,7 +2301,8 @@ <h4 id=declaration-mode><span class=secno>3.5.7. </span> <dfn
23012301
<dt>anything else
23022302

23032303
<dd> This is a <i>parse error</i>. Switch to the <a
2304-
href="#next-statement-error-mode0"><i>next-statement error mode</i></a>.
2304+
href="#next-declaration-error-mode0"><i>next-declaration error
2305+
mode</i></a>.
23052306
</dl>
23062307

23072308
<h4 id=after-declaration-name-mode><span class=secno>3.5.8. </span> <dfn
@@ -2329,7 +2330,8 @@ <h4 id=after-declaration-name-mode><span class=secno>3.5.8. </span> <dfn
23292330
<dt>anything else
23302331

23312332
<dd> This is a <i>parse error</i>. Switch to the <a
2332-
href="#next-statement-error-mode0"><i>next-statement error mode</i></a>.
2333+
href="#next-declaration-error-mode0"><i>next-declaration error
2334+
mode</i></a>.
23332335
</dl>
23342336

23352337
<h4 id=declaration-value-mode><span class=secno>3.5.9. </span> <dfn
@@ -2352,7 +2354,7 @@ <h4 id=declaration-value-mode><span class=secno>3.5.9. </span> <dfn
23522354

23532355
<dd> This is a <i>parse error</i>. Discard the <a
23542356
href="#current-declaration"><i>current declaration</i></a> and switch to
2355-
the <a href="#next-statement-error-mode0"><i>next-statement error
2357+
the <a href="#next-declaration-error-mode0"><i>next-declaration error
23562358
mode</i></a>.
23572359

23582360
<dt><span class=temp>{</span> token
@@ -2367,8 +2369,8 @@ <h4 id=declaration-value-mode><span class=secno>3.5.9. </span> <dfn
23672369
declaration</i></a> and remain in this mode.
23682370
<p> Otherwise, discard the <a href="#current-declaration"><i>current
23692371
declaration</i></a> and switch to the <a
2370-
href="#next-statement-error-mode0"><i>next-statement error mode</i></a>.
2371-
2372+
href="#next-declaration-error-mode0"><i>next-declaration error
2373+
mode</i></a>.
23722374

23732375
<dt>function token
23742376

@@ -2378,8 +2380,8 @@ <h4 id=declaration-value-mode><span class=secno>3.5.9. </span> <dfn
23782380
this mode.
23792381
<p> Otherwise, discard the <a href="#current-declaration"><i>current
23802382
declaration</i></a> and switch to the <a
2381-
href="#next-statement-error-mode0"><i>next-statement error mode</i></a>.
2382-
2383+
href="#next-declaration-error-mode0"><i>next-declaration error
2384+
mode</i></a>.
23832385

23842386
<dt>semicolon token
23852387

@@ -2439,8 +2441,8 @@ <h4 id=next-block-error-mode><span class=secno>3.5.10. </span> <dfn
24392441
<dd> Do nothing. Remain in this mode.
24402442
</dl>
24412443

2442-
<h4 id=next-statement-error-mode><span class=secno>3.5.11. </span> <dfn
2443-
id=next-statement-error-mode0>Next-statement error mode</dfn></h4>
2444+
<h4 id=next-declaration-error-mode><span class=secno>3.5.11. </span> <dfn
2445+
id=next-declaration-error-mode0>next-declaration error mode</dfn></h4>
24442446

24452447
<p> Consume the <a href="#next-input-token"><i>next input token</i></a>.
24462448

@@ -2977,15 +2979,15 @@ <h2 class=no-num id=index> Index</h2>
29772979
href="#next-block-or-statement-error-mode0"
29782980
title="Next-block-or-statement error mode"><strong>3.5.12.</strong></a>
29792981

2982+
<li>next-declaration error mode, <a href="#next-declaration-error-mode0"
2983+
title="next-declaration error mode"><strong>3.5.11.</strong></a>
2984+
29802985
<li>next input character, <a href="#next-input-character"
29812986
title="next input character"><strong>3.2.2.</strong></a>
29822987

29832988
<li>next input token, <a href="#next-input-token"
29842989
title="next input token"><strong>3.5.2.</strong></a>
29852990

2986-
<li>Next-statement error mode, <a href="#next-statement-error-mode0"
2987-
title="Next-statement error mode"><strong>3.5.11.</strong></a>
2988-
29892991
<li>non-ASCII character, <a href="#non-ascii-character"
29902992
title="non-ASCII character"><strong>3.4.2.</strong></a>
29912993

css3-syntax/Overview.src.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2276,7 +2276,7 @@ <h4>
22762276
<dt>anything else
22772277
<dd>
22782278
This is a <i>parse error</i>.
2279-
Switch to the <i>next-statement error mode</i>.
2279+
Switch to the <i>next-declaration error mode</i>.
22802280
</dl>
22812281

22822282

@@ -2307,7 +2307,7 @@ <h4>
23072307
<dt>anything else
23082308
<dd>
23092309
This is a <i>parse error</i>.
2310-
Switch to the <i>next-statement error mode</i>.
2310+
Switch to the <i>next-declaration error mode</i>.
23112311
</dl>
23122312

23132313

@@ -2327,7 +2327,7 @@ <h4>
23272327
<dd>
23282328
This is a <i>parse error</i>.
23292329
Discard the <i>current declaration</i>
2330-
and switch to the <i>next-statement error mode</i>.
2330+
and switch to the <i>next-declaration error mode</i>.
23312331

23322332
<dt><span class='temp'>{</span> token
23332333
<dt><span class='temp'>[</span> token
@@ -2341,7 +2341,7 @@ <h4>
23412341
<p>
23422342
Otherwise,
23432343
discard the <i>current declaration</i>
2344-
and switch to the <i>next-statement error mode</i>.
2344+
and switch to the <i>next-declaration error mode</i>.
23452345

23462346
<dt>function token
23472347
<dd>
@@ -2352,7 +2352,7 @@ <h4>
23522352

23532353
<p>
23542354
Otherwise, discard the <i>current declaration</i>
2355-
and switch to the <i>next-statement error mode</i>.
2355+
and switch to the <i>next-declaration error mode</i>.
23562356

23572357
<dt>semicolon token
23582358
<dd>
@@ -2410,7 +2410,7 @@ <h4>
24102410

24112411

24122412
<h4>
2413-
<dfn>Next-statement error mode</dfn></h4>
2413+
<dfn>next-declaration error mode</dfn></h4>
24142414

24152415
<p>
24162416
Consume the <i>next input token</i>.

0 commit comments

Comments
 (0)