Changes in src/Parser/parser.yy [597ddfeb:119889f]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
r597ddfeb r119889f 3132 3132 // | type_specifier identifier_parameter_declarator 3133 3133 | assertion_list 3134 { $$ = DeclarationNode::newTypeParam( ast::TypeDecl::Dtype, new string( DeclarationNode::anonymous.newName() ) )->addAssertions( $1 ); } 3134 // Invent a placeholder type to wrap these bare assertions. Rely on buildFunctionDecl to remove the placeholder. 3135 { $$ = DeclarationNode::newTypeParam( ast::TypeDecl::Dtype, new string( "" ) )->addAssertions( $1 ); } 3135 3136 | ENUM '(' identifier_or_type_name ')' identifier_or_type_name new_type_class type_initializer_opt assertion_list_opt 3136 3137 {
Note:
See TracChangeset
for help on using the changeset viewer.