Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/DeclarationNode.cc

    ra7c90d4 rc3396e0  
    1010// Created On       : Sat May 16 12:34:05 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Mar  7 08:02:09 2017
    13 // Update Count     : 936
     12// Last Modified On : Tue Mar  7 17:28:56 2017
     13// Update Count     : 937
    1414//
    1515
     
    359359        DeclarationNode * newnode = new DeclarationNode;
    360360        newnode->type = new TypeData( TypeData::Pointer );
    361         return newnode->addQualifiers( qualifiers );
     361        if ( qualifiers ) {
     362                return newnode->addQualifiers( qualifiers );
     363        } else {
     364                return newnode;
     365        } // if
    362366} // DeclarationNode::newPointer
    363367
Note: See TracChangeset for help on using the changeset viewer.