Changes in / [27fed7f1:905eca1]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    r27fed7f1 r905eca1  
    1010// Created On       : Sat Sep  1 20:22:55 2001
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Mar  9 21:40:20 2017
    13 // Update Count     : 2292
     12// Last Modified On : Wed Mar 15 22:06:22 2017
     13// Update Count     : 2308
    1414//
    1515
     
    437437argument_expression:
    438438        // empty
    439                 { $$ = nullptr; }                                                               // use default argument
     439                { $$ = nullptr; }
     440        // | '@'                                                                                                // use default argument
     441        //      { $$ = new ExpressionNode( build_constantInteger( *new string( "2" ) ) ); }
    440442        | assignment_expression
    441443        ;
     
    14041406type_qualifier_name:
    14051407        CONST
    1406                 { $$ = DeclarationNode::newTypeQualifier( DeclarationNode::Const ); }
     1408                { $$ = DeclarationNode::newTypeQualifier( Type::Const ); }
    14071409        | RESTRICT
    1408                 { $$ = DeclarationNode::newTypeQualifier( DeclarationNode::Restrict ); }
     1410                { $$ = DeclarationNode::newTypeQualifier( Type::Restrict ); }
    14091411        | VOLATILE
    1410                 { $$ = DeclarationNode::newTypeQualifier( DeclarationNode::Volatile ); }
     1412                { $$ = DeclarationNode::newTypeQualifier( Type::Volatile ); }
    14111413        | LVALUE                                                                                        // CFA
    1412                 { $$ = DeclarationNode::newTypeQualifier( DeclarationNode::Lvalue ); }
     1414                { $$ = DeclarationNode::newTypeQualifier( Type::Lvalue ); }
    14131415        | MUTEX
    1414                 { $$ = DeclarationNode::newTypeQualifier( DeclarationNode::Mutex ); }
     1416                { $$ = DeclarationNode::newTypeQualifier( Type::Mutex ); }
    14151417        | ATOMIC
    1416                 { $$ = DeclarationNode::newTypeQualifier( DeclarationNode::Atomic ); }
     1418                { $$ = DeclarationNode::newTypeQualifier( Type::Atomic ); }
    14171419        | FORALL '('
    14181420                {
     
    16821684        // empty
    16831685                { $$ = DeclarationNode::newName( 0 ); /* XXX */ } // CFA, no field name
     1686        // '@' // empty
     1687        //      { $$ = DeclarationNode::newName( 0 ); /* XXX */ } // CFA, no field name
    16841688        | bit_subrange_size                                                                     // no field name
    16851689                { $$ = DeclarationNode::newBitfield( $1 ); }
Note: See TracChangeset for help on using the changeset viewer.