Changes in src/Parser/parser.yy [bd85400:90c3b1c]
- File:
-
- 1 edited
-
src/Parser/parser.yy (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
rbd85400 r90c3b1c 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Feb 1 18:22:42201613 // Update Count : 14 8312 // Last Modified On : Sun Feb 28 11:49:18 2016 13 // Update Count : 1492 14 14 // 15 15 … … 74 74 %token FORALL LVALUE // CFA 75 75 %token VOID CHAR SHORT INT LONG FLOAT DOUBLE SIGNED UNSIGNED 76 %token VALIST // GCC 76 77 %token BOOL COMPLEX IMAGINARY // C99 77 78 %token TYPEOF LABEL // GCC … … 448 449 { $$ = new CompositeExprNode( new OperatorNode( OperatorNode::SizeOf ), new TypeValueNode( $3 )); } 449 450 | OFFSETOF '(' type_name_no_function ',' no_attr_identifier ')' 450 { $$ = new CompositeExprNode( new OperatorNode( OperatorNode::OffsetOf ), new TypeValueNode( $3 ), new VarRefNode( $5 )); }451 { $$ = new CompositeExprNode( new OperatorNode( OperatorNode::OffsetOf ), new TypeValueNode( $3 ), new VarRefNode( $5 )); } 451 452 | ATTR_IDENTIFIER 452 453 { $$ = new CompositeExprNode( new OperatorNode( OperatorNode::Attr ), new VarRefNode( $1 )); } … … 1345 1346 | IMAGINARY // C99 1346 1347 { $$ = DeclarationNode::newBasicType( DeclarationNode::Imaginary ); } 1348 | VALIST // GCC, __builtin_va_list 1349 { $$ = DeclarationNode::newBuiltinType( DeclarationNode::Valist ); } 1347 1350 ; 1348 1351
Note:
See TracChangeset
for help on using the changeset viewer.