Changes in / [27fed7f1:905eca1]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
r27fed7f1 r905eca1 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Mar 9 21:40:20201713 // Update Count : 2 29212 // Last Modified On : Wed Mar 15 22:06:22 2017 13 // Update Count : 2308 14 14 // 15 15 … … 437 437 argument_expression: 438 438 // empty 439 { $$ = nullptr; } // use default argument 439 { $$ = nullptr; } 440 // | '@' // use default argument 441 // { $$ = new ExpressionNode( build_constantInteger( *new string( "2" ) ) ); } 440 442 | assignment_expression 441 443 ; … … 1404 1406 type_qualifier_name: 1405 1407 CONST 1406 { $$ = DeclarationNode::newTypeQualifier( DeclarationNode::Const ); }1408 { $$ = DeclarationNode::newTypeQualifier( Type::Const ); } 1407 1409 | RESTRICT 1408 { $$ = DeclarationNode::newTypeQualifier( DeclarationNode::Restrict ); }1410 { $$ = DeclarationNode::newTypeQualifier( Type::Restrict ); } 1409 1411 | VOLATILE 1410 { $$ = DeclarationNode::newTypeQualifier( DeclarationNode::Volatile ); }1412 { $$ = DeclarationNode::newTypeQualifier( Type::Volatile ); } 1411 1413 | LVALUE // CFA 1412 { $$ = DeclarationNode::newTypeQualifier( DeclarationNode::Lvalue ); }1414 { $$ = DeclarationNode::newTypeQualifier( Type::Lvalue ); } 1413 1415 | MUTEX 1414 { $$ = DeclarationNode::newTypeQualifier( DeclarationNode::Mutex ); }1416 { $$ = DeclarationNode::newTypeQualifier( Type::Mutex ); } 1415 1417 | ATOMIC 1416 { $$ = DeclarationNode::newTypeQualifier( DeclarationNode::Atomic ); }1418 { $$ = DeclarationNode::newTypeQualifier( Type::Atomic ); } 1417 1419 | FORALL '(' 1418 1420 { … … 1682 1684 // empty 1683 1685 { $$ = DeclarationNode::newName( 0 ); /* XXX */ } // CFA, no field name 1686 // '@' // empty 1687 // { $$ = DeclarationNode::newName( 0 ); /* XXX */ } // CFA, no field name 1684 1688 | bit_subrange_size // no field name 1685 1689 { $$ = DeclarationNode::newBitfield( $1 ); }
Note: See TracChangeset
for help on using the changeset viewer.