Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    rdd54139 recf3812  
    979979                { $$ = new ExpressionNode( new ast::VirtualCastExpr( yylloc, maybeMoveBuild( $5 ), maybeMoveBuildType( $3 ) ) ); }
    980980        | '(' RETURN type_no_function ')' cast_expression       // CFA
    981                 { $$ = new ExpressionNode( build_cast( yylloc, $3, $5, ast::CastExpr::Return ) ); }
     981                { $$ = new ExpressionNode( build_cast( yylloc, $3, $5, ast::ReturnCast ) ); }
    982982        | '(' COERCE type_no_function ')' cast_expression       // CFA
    983983                { SemanticError( yylloc, "Coerce cast is currently unimplemented." ); $$ = nullptr; }
Note: See TracChangeset for help on using the changeset viewer.