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