Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/ParseNode.cc

    r59db689 r71bd8c6  
    99// Author           : Rodolfo G. Esteves
    1010// Created On       : Sat May 16 13:26:29 2015
    11 // Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sat Jun  6 20:17:58 2015
    13 // Update Count     : 23
     11// Last Modified By : Rob Schluntz
     12// Last Modified On : Wed Jul 08 14:46:45 2015
     13// Update Count     : 25
    1414//
    1515
     
    4141
    4242ParseNode *ParseNode::set_link( ParseNode *next_ ) {
    43         ParseNode *follow;
    44 
    4543        if ( next_ == 0 ) return this;
    4644
    47         for ( follow = this; follow->next != 0; follow = follow->next );
    48         follow->next = next_;
     45        get_last()->next = next_;
    4946
    5047        return this;
Note: See TracChangeset for help on using the changeset viewer.