Changes in / [160af1e:17f27d40]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/ParseNode.h
r160af1e r17f27d40 107 107 public: 108 108 ExpressionNode( Expression * expr = nullptr ) : expr( expr ) {} 109 ExpressionNode( const ExpressionNode &other ); 109 110 virtual ~ExpressionNode() {} 110 virtual ExpressionNode * clone() const override { return expr ? static_cast<ExpressionNode*>((new ExpressionNode( expr->clone() ))->set_next( maybeClone( get_next() ) )) : nullptr; }111 virtual ExpressionNode * clone() const override { return expr ? new ExpressionNode( expr->clone() ) : nullptr; } 111 112 112 113 bool get_extension() const { return extension; }
Note: See TracChangeset
for help on using the changeset viewer.