Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/TypeData.cc

    r4e06c1e r5d125e4  
    1010// Created On       : Sat May 16 15:12:51 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Jul 12 17:21:49 2016
    13 // Update Count     : 50
     12// Last Modified On : Wed Jul 13 18:03:29 2016
     13// Update Count     : 56
    1414//
    1515
     
    200200                newtype->aggregate->name = aggregate->name;
    201201                newtype->aggregate->kind = aggregate->kind;
     202                newtype->aggregate->body = aggregate->body;
    202203                break;
    203204          case AggregateInst:
     
    327328                        os << string( indent + 2, ' ' ) << "with members " << endl;
    328329                        aggregate->fields->printList( os, indent + 4 );
    329 ///     } else {
    330 ///       os << string( indent + 2, ' ' ) << "with no members " << endl;
     330                } // if
     331                if ( aggregate->body ) {
     332                        os << string( indent + 2, ' ' ) << " with body " << endl;
    331333                } // if
    332334                break;
     
    847849
    848850        buildList( aggregate->fields, at->get_members() );
     851        at->set_body( aggregate->body );
    849852
    850853        return at;
Note: See TracChangeset for help on using the changeset viewer.