Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/DeclarationNode.cc

    rd1625f8 r1d4580a  
    1010// Created On       : Sat May 16 12:34:05 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Aug  9 08:39:20 2016
    13 // Update Count     : 169
     12// Last Modified On : Sat Aug 13 18:56:58 2016
     13// Update Count     : 171
    1414//
    1515
     
    470470
    471471                // there may be typedefs chained onto the type
    472                 if ( o->get_link() ) {
    473                         set_link( o->get_link()->clone() );
     472                if ( o->get_next() ) {
     473                        set_last( o->get_next()->clone() );
    474474                } // if
    475475        } // if
     
    757757DeclarationNode *DeclarationNode::appendList( DeclarationNode *node ) {
    758758        if ( node != 0 ) {
    759                 set_link( node );
     759                set_last( node );
    760760        } // if
    761761        return this;
     
    794794                        errors.append( e );
    795795                } // try
    796                 cur = dynamic_cast<DeclarationNode *>( cur->get_link() );
     796                cur = dynamic_cast<DeclarationNode *>( cur->get_next() );
    797797        } // while
    798798        if ( ! errors.isEmpty() ) {
     
    831831                        errors.append( e );
    832832                } // try
    833                 cur = dynamic_cast< DeclarationNode *>( cur->get_link() );
     833                cur = dynamic_cast< DeclarationNode *>( cur->get_next() );
    834834        } // while
    835835        if ( ! errors.isEmpty() ) {
     
    848848                        errors.append( e );
    849849                } // try
    850                 cur = dynamic_cast< DeclarationNode *>( cur->get_link() );
     850                cur = dynamic_cast< DeclarationNode *>( cur->get_next() );
    851851        } // while
    852852        if ( ! errors.isEmpty() ) {
Note: See TracChangeset for help on using the changeset viewer.