Changeset 87e08e24


Ignore:
Timestamp:
Aug 23, 2017, 8:53:23 PM (7 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
7ece922, f1bcd004
Parents:
d3e4d6c
Message:

Add missing indent prints in codegen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/CodeGenerator.cc

    rd3e4d6c r87e08e24  
    206206                        for ( std::list< Declaration* >::iterator i = memb.begin(); i != memb.end(); i++ ) {
    207207                                updateLocation( *i );
     208                                output << indent;
    208209                                (*i)->accept( *this );
    209210                                output << ";" << endl;
     
    245246                                assert( obj );
    246247                                updateLocation( obj );
    247                                 output << mangleName( obj );
     248                                output << indent << mangleName( obj );
    248249                                if ( obj->get_init() ) {
    249250                                        output << " = ";
Note: See TracChangeset for help on using the changeset viewer.