Changeset e82aa9df for src/Parser/ParseNode.cc
- Timestamp:
- Aug 15, 2016, 4:13:38 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, 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:
- b1848a0
- Parents:
- 797347f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/ParseNode.cc
r797347f re82aa9df 10 10 // Created On : Sat May 16 13:26:29 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Aug 13 18:55:35201613 // Update Count : 9 812 // Last Modified On : Mon Aug 15 14:49:06 2016 13 // Update Count : 99 14 14 // 15 15 … … 52 52 } 53 53 54 ParseNode &ParseNode::operator,( ParseNode &p ) {55 set_last( &p );56 return *this;57 }58 59 ParseNode *mkList( ParseNode &pn ) {60 // it just relies on `operator,' to take care of the "arguments" and provides a nice interface to an awful-looking61 // address-of, rendering, for example (StatementNode *)(&(*$5 + *$7)) into (StatementNode *)mkList(($5, $7))62 // (although "nice" is probably not the word)63 return &pn;64 }65 66 54 // Local Variables: // 67 55 // tab-width: 4 //
Note: See TracChangeset
for help on using the changeset viewer.