Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/DeclarationNode.cc

    r71bd8c6 r2871210  
    99// Author           : Rodolfo G. Esteves
    1010// Created On       : Sat May 16 12:34:05 2015
    11 // Last Modified By : Rob Schluntz
    12 // Last Modified On : Wed Jul 08 16:40:37 2015
    13 // Update Count     : 121
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Fri Jul  3 12:35:02 2015
     13// Update Count     : 108
    1414//
    1515
     
    284284        newnode->type->array->dimension = size;
    285285        newnode->type->array->isStatic = isStatic;
    286         if ( newnode->type->array->dimension == 0 || dynamic_cast<ConstantNode *>( newnode->type->array->dimension ) ) {
    287                 newnode->type->array->isVarLen = false;
    288         } else {
    289                 newnode->type->array->isVarLen = true;
    290         } // if
     286        newnode->type->array->isVarLen = false;
    291287        return newnode->addQualifiers( qualifiers );
    292288}
     
    468464                        bitfieldWidth = o->bitfieldWidth;
    469465                } // if
    470 
    471                 // there may be typedefs chained onto the type
    472                 if ( o->get_link() ) {
    473                         set_link( o->get_link()->clone() );
    474                 }
    475 
    476466        } // if
    477467        delete o;
Note: See TracChangeset for help on using the changeset viewer.