Changeset b1a6d6b for translator/SynTree


Ignore:
Timestamp:
May 14, 2015, 12:19:46 PM (9 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
Children:
4bf5298
Parents:
d4778a6
Message:

removed duplicate adapters, switch to c99 for initializer declarations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • translator/SynTree/CompoundStmt.cc

    rd4778a6 rb1a6d6b  
    1111#include <functional>
    1212
     13#include <iostream>
     14using namespace std;
    1315
    1416CompoundStmt::CompoundStmt( std::list<Label> labels )
     
    3133CompoundStmt::print( std::ostream &os, int indent )
    3234{
    33     printAll( kids, os, indent );
     35    os << "\r" << string(indent, ' ') << "CompoundStmt" << endl ;
     36    printAll( kids, os, indent+2 );
    3437}
    3538
Note: See TracChangeset for help on using the changeset viewer.