Changes in / [6a0d1b1e:046e04a]
- Location:
- src/SynTree
- Files:
-
- 2 edited
-
BaseSyntaxNode.h (modified) (1 diff)
-
ObjectDecl.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/BaseSyntaxNode.h
r6a0d1b1e r046e04a 24 24 CodeLocation location; 25 25 26 virtual ~BaseSyntaxNode() {} 27 28 virtual void accept( Visitor & v ) = 0; 26 virtual void accept( Visitor & v ) = 0; // temporary -- needs to be here so that BaseSyntaxNode is polymorphic and can be dynamic_cast 29 27 }; 30 28 -
src/SynTree/ObjectDecl.cc
r6a0d1b1e r046e04a 56 56 57 57 if ( init ) { 58 os << " with initializer " << std::endl;59 init->print( os, indent +2);60 os << std::endl << std::string(indent +2, ' ');58 os << " with initializer "; 59 init->print( os, indent ); 60 os << std::endl << std::string(indent, ' '); 61 61 os << "maybeConstructed? " << init->get_maybeConstructed(); 62 62 } // if
Note:
See TracChangeset
for help on using the changeset viewer.