Changes in src/Parser/parser.yy [9a705dc8:f38e7d7]
- File:
-
- 1 edited
-
src/Parser/parser.yy (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
r9a705dc8 rf38e7d7 688 688 { $$ = new ExpressionNode( build_cast( $2, $4 ) ); } 689 689 | '(' COROUTINE '&' ')' cast_expression // CFA 690 { $$ = new ExpressionNode( build_keyword_cast( KeywordCastExpr::Coroutine, $5 ) ); }690 { SemanticError( yylloc, "coroutine cast is currently unimplemented." ); $$ = nullptr; } 691 691 | '(' THREAD '&' ')' cast_expression // CFA 692 { $$ = new ExpressionNode( build_keyword_cast( KeywordCastExpr::Thread, $5 ) ); }692 { SemanticError( yylloc, "monitor cast is currently unimplemented." ); $$ = nullptr; } 693 693 | '(' MONITOR '&' ')' cast_expression // CFA 694 { $$ = new ExpressionNode( build_keyword_cast( KeywordCastExpr::Monitor, $5 ) ); }694 { SemanticError( yylloc, "thread cast is currently unimplemented." ); $$ = nullptr; } 695 695 // VIRTUAL cannot be opt because of look ahead issues 696 696 | '(' VIRTUAL ')' cast_expression // CFA
Note:
See TracChangeset
for help on using the changeset viewer.