Changeset 44adf1b for src/Parser/DeclarationNode.cc
- Timestamp:
- Mar 5, 2024, 9:55:04 AM (4 months ago)
- Branches:
- master
- Children:
- af60383
- Parents:
- 9262fe9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/DeclarationNode.cc
r9262fe9 r44adf1b 101 101 DeclarationNode * DeclarationNode::clone() const { 102 102 DeclarationNode * newnode = new DeclarationNode; 103 newnode-> set_next( maybeCopy( get_next() ));103 newnode->next = maybeCopy( next ); 104 104 newnode->name = name ? new string( *name ) : nullptr; 105 105 … … 717 717 718 718 // there may be typedefs chained onto the type 719 if ( o-> get_next()) {720 set_last( o-> get_next()->clone() );719 if ( o->next ) { 720 set_last( o->next->clone() ); 721 721 } // if 722 722 } // if
Note: See TracChangeset
for help on using the changeset viewer.