Changes in / [160af1e:17f27d40]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/ParseNode.h

    r160af1e r17f27d40  
    107107  public:
    108108        ExpressionNode( Expression * expr = nullptr ) : expr( expr ) {}
     109        ExpressionNode( const ExpressionNode &other );
    109110        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; }
    111112
    112113        bool get_extension() const { return extension; }
Note: See TracChangeset for help on using the changeset viewer.