Ignore:
Timestamp:
Aug 15, 2016, 10:18:22 AM (9 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
b1848a0
Parents:
38736854 (diff), 797347f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/ParseNode.cc

    r38736854 r6603c1d  
    1010// Created On       : Sat May 16 13:26:29 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sun Aug  7 23:32:47 2016
    13 // Update Count     : 94
     12// Last Modified On : Sat Aug 13 18:55:35 2016
     13// Update Count     : 98
    1414//
    1515
     
    3131        ParseNode *current = this;
    3232
    33         while ( current->get_link() != 0 )
    34         current = current->get_link();
    35 
     33        while ( current->get_next() != 0 )
     34        current = current->get_next();
    3635        return current;
    3736}
    3837
    39 ParseNode *ParseNode::set_link( ParseNode *next_ ) {
     38ParseNode *ParseNode::set_last( ParseNode *next_ ) {
    4039        if ( next_ != 0 ) get_last()->next = next_;
    4140        return this;
     
    5453
    5554ParseNode &ParseNode::operator,( ParseNode &p ) {
    56         set_link( &p );
    57 
     55        set_last( &p );
    5856        return *this;
    5957}
Note: See TracChangeset for help on using the changeset viewer.