Ignore:
Timestamp:
May 4, 2016, 12:17:25 PM (8 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, with_gc
Children:
7cc6bd6, bb8ea30
Parents:
60089f4
Message:

fixed printing in MemberExpr?, FunctionDecl?, ObjectDecl?, etc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Expression.cc

    r60089f4 r9243a501  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Rob Schluntz
    12 // Last Modified On : Tue Apr 26 12:52:40 2016
     12// Last Modified On : Wed May 04 12:14:09 2016
    1313// Update Count     : 40
    1414//
     
    321321
    322322        Expression *agg = get_aggregate();
    323         os << std::string( indent, ' ' ) << "from aggregate: ";
     323        os << ", from aggregate: ";
    324324        if (agg != 0) {
    325                 os << std::string( indent+2, ' ' );
    326325                agg->print(os, indent + 2);
    327326        }
     
    359358        os << std::string( indent, ' ' ) << "from aggregate: " << std::endl;
    360359        if (agg != 0) {
    361                 os << std::string( indent+2, ' ' );
    362360                agg->print(os, indent + 2);
    363361        }
Note: See TracChangeset for help on using the changeset viewer.