@@ -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
0 commit comments