Changes in src/Parser/ParseNode.cc [1d4580a:e82aa9df]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/ParseNode.cc
r1d4580a 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.