Changes in src/Parser/parser.yy [b6f2e7ab:db19e1d]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
rb6f2e7ab rdb19e1d 927 927 { $$ = new ExpressionNode( build_unary_val( yylloc, OperKinds::Decr, $2 ) ); } 928 928 | SIZEOF unary_expression 929 { $$ = new ExpressionNode( new ast::SizeofExpr( yylloc, new ast::TypeofType( maybeMoveBuild( $2 )) ) ); }929 { $$ = new ExpressionNode( new ast::SizeofExpr( yylloc, maybeMoveBuild( $2 ) ) ); } 930 930 | SIZEOF '(' type_no_function ')' 931 931 { $$ = new ExpressionNode( new ast::SizeofExpr( yylloc, maybeMoveBuildType( $3 ) ) ); } 932 932 | ALIGNOF unary_expression // GCC, variable alignment 933 { $$ = new ExpressionNode( new ast::AlignofExpr( yylloc, new ast::TypeofType( maybeMoveBuild( $2 )) ) ); }933 { $$ = new ExpressionNode( new ast::AlignofExpr( yylloc, maybeMoveBuild( $2 ) ) ); } 934 934 | ALIGNOF '(' type_no_function ')' // GCC, type alignment 935 935 { $$ = new ExpressionNode( new ast::AlignofExpr( yylloc, maybeMoveBuildType( $3 ) ) ); }
Note: See TracChangeset
for help on using the changeset viewer.