Changes in src/Parser/ParseNode.cc [e82aa9df:1d4580a]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/ParseNode.cc
re82aa9df r1d4580a 10 10 // Created On : Sat May 16 13:26:29 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Aug 15 14:49:06201613 // Update Count : 9 912 // Last Modified On : Sat Aug 13 18:55:35 2016 13 // Update Count : 98 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-looking 61 // 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 54 66 // Local Variables: // 55 67 // tab-width: 4 //
Note:
See TracChangeset
for help on using the changeset viewer.