Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/ParseNode.cc

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