You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -2518,11 +2516,10 @@ Consume a component value</h4>
2518
2516
<h4 id="consume-a-simple-block">
2519
2517
Consume a simple block</h4>
2520
2518
2521
-
Note: This algorithm assumes that the <a>next input token</a> has already been checked to be an <a href="#tokendef-open-curly"><{-token></a>, <a href="#tokendef-open-square"><[-token></a>, or <a href="#tokendef-open-paren"><(-token></a>.
2519
+
Note: This algorithm assumes that the <a>current input token</a> has already been checked to be an <a href="#tokendef-open-curly"><{-token></a>, <a href="#tokendef-open-square"><[-token></a>, or <a href="#tokendef-open-paren"><(-token></a>.
2522
2520
2523
2521
To <dfn>consume a simple block</dfn>:
2524
2522
2525
-
<a>Consume the next input token</a>.
2526
2523
The <dfn>ending token</dfn> is the mirror variant of the <a>current input token</a>.
2527
2524
(E.g. if it was called with <a href="#tokendef-open-square"><[-token></a>, the <a>ending token</a> is <a href="#tokendef-close-square"><]-token></a>.)
2528
2525
@@ -2548,11 +2545,10 @@ Consume a simple block</h4>
2548
2545
<h4 id="consume-a-function">
2549
2546
Consume a function</h4>
2550
2547
2551
-
Note: This algorithm assumes that the <a>next input token</a> has already been checked to be a <<function-token>>.
2548
+
Note: This algorithm assumes that the <a>current input token</a> has already been checked to be a <<function-token>>.
2552
2549
2553
2550
To <dfn>consume a function</dfn>:
2554
2551
2555
-
<a>Consume the next input token</a>.
2556
2552
Create a function with a name equal to the value of the <a>current input token</a>,
2557
2553
and with a value which is initially an empty list.
2558
2554
@@ -3212,6 +3208,13 @@ Changes</h2>
3212
3208
3213
3209
<em>This section is non-normative.</em>
3214
3210
3211
+
<h3 id="changes-CR-20140220">
3212
+
Changes from the 20 February 2014 Candidate Recommendation</h3>
3213
+
3214
+
<ul>
3215
+
<li>Fix several bugs in the tokenization and parsing algorithms.
3216
+
</ul>
3217
+
3215
3218
<h3 id="changes-WD-20131105">
3216
3219
Changes from the 5 November 2013 Last Call Working Draft</h3>
Consume a simple block</span><aclass=self-linkhref=#consume-a-simple-block></a></h4>
4033
4032
4034
-
<pclass=note> Note: This algorithm assumes that the <adata-link-type=dfnhref=#next-input-tokentitle="next input token">next input token</a> has already been checked to be an <ahref=#tokendef-open-curly><{-token></a>, <ahref=#tokendef-open-square><[-token></a>, or <ahref=#tokendef-open-paren><(-token></a>.
4033
+
<pclass=note> Note: This algorithm assumes that the <adata-link-type=dfnhref=#current-input-tokentitle="current input token">current input token</a> has already been checked to be an <ahref=#tokendef-open-curly><{-token></a>, <ahref=#tokendef-open-square><[-token></a>, or <ahref=#tokendef-open-paren><(-token></a>.
4035
4034
4036
4035
<p> To <dfndata-dfn-type=dfndata-noexport="" id=consume-a-simple-block0>consume a simple block<aclass=self-linkhref=#consume-a-simple-block0></a></dfn>:
4037
4036
4038
-
<p><adata-link-type=dfnhref=#consume-the-next-input-tokentitle="consume the next input token">Consume the next input token</a>.
4039
-
The <dfndata-dfn-type=dfndata-noexport="" id=ending-token>ending token<aclass=self-linkhref=#ending-token></a></dfn> is the mirror variant of the <adata-link-type=dfnhref=#current-input-tokentitle="current input token">current input token</a>.
4037
+
<p> The <dfndata-dfn-type=dfndata-noexport="" id=ending-token>ending token<aclass=self-linkhref=#ending-token></a></dfn> is the mirror variant of the <adata-link-type=dfnhref=#current-input-tokentitle="current input token">current input token</a>.
4040
4038
(E.g. if it was called with <ahref=#tokendef-open-square><[-token></a>, the <adata-link-type=dfnhref=#ending-tokentitle="ending token">ending token</a> is <ahref=#tokendef-close-square><]-token></a>.)
4041
4039
4042
4040
<p> Create a <adata-link-type=dfnhref=#simple-blocktitle="simple block">simple block</a> with its associated token set to the <adata-link-type=dfnhref=#current-input-tokentitle="current input token">current input token</a>
Consume a function</span><aclass=self-linkhref=#consume-a-function></a></h4>
4063
4061
4064
-
<pclass=note> Note: This algorithm assumes that the <adata-link-type=dfnhref=#next-input-tokentitle="next input token">next input token</a> has already been checked to be a <aclass="production css-code" data-link-type=typehref=#typedef-function-tokentitle="<function-token>"><function-token></a>.
4062
+
<pclass=note> Note: This algorithm assumes that the <adata-link-type=dfnhref=#current-input-tokentitle="current input token">current input token</a> has already been checked to be a <aclass="production css-code" data-link-type=typehref=#typedef-function-tokentitle="<function-token>"><function-token></a>.
4065
4063
4066
4064
<p> To <dfndata-dfn-type=dfndata-noexport="" id=consume-a-function0>consume a function<aclass=self-linkhref=#consume-a-function0></a></dfn>:
4067
4065
4068
-
<p><adata-link-type=dfnhref=#consume-the-next-input-tokentitle="consume the next input token">Consume the next input token</a>.
4069
-
Create a function with a name equal to the value of the <adata-link-type=dfnhref=#current-input-tokentitle="current input token">current input token</a>,
4066
+
<p> Create a function with a name equal to the value of the <adata-link-type=dfnhref=#current-input-tokentitle="current input token">current input token</a>,
4070
4067
and with a value which is initially an empty list.
4071
4068
4072
4069
<p> Repeatedly consume the <adata-link-type=dfnhref=#next-input-tokentitle="next input token">next input token</a> and process it as follows:
0 commit comments