Changes in src/Parser/parser.yy [fd54fef:b66d14a]
- File:
-
- 1 edited
-
src/Parser/parser.yy (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
rfd54fef rb66d14a 2441 2441 type_parameter: // CFA 2442 2442 type_class identifier_or_type_name 2443 { typedefTable.addToScope( *$2, TYPEDEFname, "9" ); 2444 if ( $1 == TypeDecl::Otype ) { SemanticError( yylloc, "otype keyword is deprecated" ); } 2445 if ( $1 == TypeDecl::Dtype ) { SemanticError( yylloc, "dtype keyword is deprecated" ); } 2446 if ( $1 == TypeDecl::Ttype ) { SemanticError( yylloc, "ttype keyword is deprecated" ); } 2447 } 2443 { typedefTable.addToScope( *$2, TYPEDEFname, "9" ); } 2448 2444 type_initializer_opt assertion_list_opt 2449 2445 { $$ = DeclarationNode::newTypeParam( $1, $2 )->addTypeInitializer( $4 )->addAssertions( $5 ); }
Note:
See TracChangeset
for help on using the changeset viewer.