Changeset 0c327ce for src/Parser
- Timestamp:
- Jul 12, 2024, 3:30:06 PM (7 days ago)
- Branches:
- master
- Children:
- 76b507d
- Parents:
- 9c447e2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
r9c447e2 r0c327ce 970 970 // $$ = new ExpressionNode( build_offsetOf( $3, build_varref( $5 ) ) ); 971 971 } 972 | COUNTOF unary_expression 973 { $$ = new ExpressionNode( new ast::CountExpr( yylloc, maybeMoveBuild( $2 ) ) ); } 972 974 | COUNTOF '(' type_no_function ')' 973 975 { $$ = new ExpressionNode( new ast::CountExpr( yylloc, maybeMoveBuildType( $3 ) ) ); } 974 | COUNTOF unary_expression975 { SemanticError( yylloc, "countof for expressions is currently unimplemented. "); $$ = nullptr; }976 976 ; 977 977
Note: See TracChangeset
for help on using the changeset viewer.