@@ -6334,13 +6334,13 @@ class parser
6334
6334
// G is-as-expression as-type-cast
6335
6335
// GTODO type-id is-type-constraint
6336
6336
// G
6337
- // G is-type-constraint
6337
+ // G is-type-constraint:
6338
6338
// G 'is' type-id
6339
6339
// G
6340
- // G is-value-constraint
6340
+ // G is-value-constraint:
6341
6341
// G 'is' expression
6342
6342
// G
6343
- // G as-type-cast
6343
+ // G as-type-cast:
6344
6344
// G 'as' type-id
6345
6345
// G
6346
6346
auto is_as_expression ()
@@ -6424,10 +6424,10 @@ class parser
6424
6424
// G ...
6425
6425
// G
6426
6426
// G template-id:
6427
- // G identifier '<' template-argument-list ? '>'
6427
+ // G identifier '<' template-arguments ? '>'
6428
6428
// G
6429
- // G template-argument-list :
6430
- // G template-argument-list ',' template-argument
6429
+ // G template-arguments :
6430
+ // G template-arguments ',' template-argument
6431
6431
// G
6432
6432
// G template-argument:
6433
6433
// G # note: < > << >> are not allowed in expressions until new ( is opened
@@ -6456,7 +6456,7 @@ class parser
6456
6456
one_past_identifier_end_pos.colno += curr ().length ();
6457
6457
next ();
6458
6458
6459
- // Handle the template-argument-list if there is one
6459
+ // Handle the template-arguments if there is one
6460
6460
if (
6461
6461
curr ().type () == lexeme::Less
6462
6462
&& curr ().position () == one_past_identifier_end_pos
@@ -7281,7 +7281,7 @@ class parser
7281
7281
// G declaration
7282
7282
// G expression-statement
7283
7283
// G
7284
- // G contract-statement
7284
+ // G contract-statement:
7285
7285
// G contract ';'
7286
7286
//
7287
7287
// GTODO try-block
@@ -7656,7 +7656,7 @@ class parser
7656
7656
}
7657
7657
7658
7658
7659
- // G parameter-declaration-list
7659
+ // G parameter-declaration-list:
7660
7660
// G '(' parameter-declaration-seq? ')'
7661
7661
// G
7662
7662
// G parameter-declaration-seq:
@@ -8004,22 +8004,22 @@ class parser
8004
8004
8005
8005
8006
8006
// G unnamed-declaration:
8007
- // G ':' meta-functions-list ? template-parameter-declaration-list ? function-type requires-clause? '=' statement
8008
- // G ':' meta-functions-list ? template-parameter-declaration-list ? function-type statement
8009
- // G ':' meta-functions-list ? template-parameter-declaration-list ? type-id? requires-clause? '=' statement
8010
- // G ':' meta-functions-list ? template-parameter-declaration-list ? type-id
8011
- // G ':' meta-functions-list ? template-parameter-declaration-list ? 'final'? 'type' requires-clause? '=' statement
8007
+ // G ':' meta-functions? template-parameters ? function-type requires-clause? '=' statement
8008
+ // G ':' meta-functions? template-parameters ? function-type statement
8009
+ // G ':' meta-functions? template-parameters ? type-id? requires-clause? '=' statement
8010
+ // G ':' meta-functions? template-parameters ? type-id
8011
+ // G ':' meta-functions? template-parameters ? 'final'? 'type' requires-clause? '=' statement
8012
8012
// G ':' 'namespace' '=' statement
8013
8013
// G
8014
- // G meta-functions-list :
8014
+ // G meta-functions:
8015
8015
// G '@' id-expression
8016
- // G meta-functions-list '@' id-expression
8016
+ // G meta-functions '@' id-expression
8017
8017
// G
8018
8018
// G requires-clause:
8019
8019
// G # note: for aliases, == is not allowed in expressions until new ( is opened
8020
8020
// G 'requires' logical-or-expression
8021
8021
// G
8022
- // G template-parameter-declaration-list
8022
+ // G template-parameters:
8023
8023
// G '<' parameter-declaration-seq '>'
8024
8024
// G
8025
8025
auto unnamed_declaration (
@@ -8527,9 +8527,9 @@ class parser
8527
8527
8528
8528
8529
8529
// G alias:
8530
- // G ':' template-parameter-declaration-list ? 'type' requires-clause? '==' type-id ';'
8530
+ // G ':' template-parameters ? 'type' requires-clause? '==' type-id ';'
8531
8531
// G ':' 'namespace' '==' id-expression ';'
8532
- // G ':' template-parameter-declaration-list ? type-id? requires-clause? '==' expression ';'
8532
+ // G ':' template-parameters ? type-id? requires-clause? '==' expression ';'
8533
8533
// G
8534
8534
// GT ':' function-type '==' expression ';'
8535
8535
// GT # See commit 63efa6ed21c4d4f4f136a7a73e9f6b2c110c81d7 comment
0 commit comments