Changeset 87b5bf0 for src/Parser/ParseNode.h
- Timestamp:
- Jun 29, 2016, 2:30:12 PM (8 years ago)
- 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:
- e64365c
- Parents:
- 7305915 (diff), 2fb2ad5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/ParseNode.h
r7305915 r87b5bf0 28 28 //#include "SynTree/Declaration.h" 29 29 #include "Common/UniqueName.h" 30 #include "SynTree/Label.h" 30 31 31 32 class ExpressionNode; … … 284 285 virtual void printOneLine( std::ostream &, int indent = 0) const; 285 286 286 const std::list< std::string> &get_labels() const { return labels; };287 const std::list< Label > &get_labels() const { return labels; }; 287 288 void append_label( std::string *label ) { labels.push_back( *label ); delete label; } 288 289 private: 289 std::list< std::string> labels;290 std::list< Label > labels; 290 291 }; 291 292 … … 532 533 ExpressionNode *output, *input; 533 534 ConstantNode *clobber; 534 std::list< std::string> gotolabels;535 std::list< Label > gotolabels; 535 536 }; 536 537
Note: See TracChangeset
for help on using the changeset viewer.