Changeset 3f9a8d0 for src/Parser
- Timestamp:
- Feb 26, 2024, 8:17:20 AM (19 months ago)
- Branches:
- master
- Children:
- f1149ac
- Parents:
- 1bb76ad (diff), a4da45e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
r1bb76ad r3f9a8d0 3022 3022 | assertion_list 3023 3023 { $$ = DeclarationNode::newTypeParam( ast::TypeDecl::Dtype, new string( DeclarationNode::anonymous.newName() ) )->addAssertions( $1 ); } 3024 | ENUM '(' identifier_or_type_name ')' identifier_or_type_name new_type_class type_initializer_opt assertion_list_opt 3025 { 3026 typedefTable.addToScope( *$3, TYPEDIMname, "type_parameter 4" ); 3027 typedefTable.addToScope( *$5, TYPEDIMname, "type_parameter 5" ); 3028 $$ = DeclarationNode::newTypeParam( $6, $5 )->addTypeInitializer( $7 )->addAssertions( $8 ); 3029 } 3024 3030 ; 3025 3031
Note:
See TracChangeset
for help on using the changeset viewer.