File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -1550,6 +1550,10 @@ parser_parse_for_statement_start (parser_context_t *context_p) /**< context */
1550
1550
break ;
1551
1551
}
1552
1552
1553
+ /* FALLTHRU */
1554
+ }
1555
+ case LEXER_KEYW_LET :
1556
+ {
1553
1557
if (context_p -> next_scanner_info_p -> source_p == context_p -> source_p
1554
1558
&& context_p -> next_scanner_info_p -> type != SCANNER_TYPE_BLOCK )
1555
1559
{
@@ -1563,9 +1567,9 @@ parser_parse_for_statement_start (parser_context_t *context_p) /**< context */
1563
1567
}
1564
1568
1565
1569
context_p -> token .type = LEXER_KEYW_LET ;
1570
+
1566
1571
/* FALLTHRU */
1567
1572
}
1568
- case LEXER_KEYW_LET :
1569
1573
case LEXER_KEYW_CONST :
1570
1574
{
1571
1575
if (context_p -> next_scanner_info_p -> source_p == source_p )
Original file line number Diff line number Diff line change
1
+ // Copyright JS Foundation and other contributors, http://js.foundation
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ class a { b ( ) { for ( let
You can’t perform that action at this time.
0 commit comments