Changes in src/SynTree/Constant.cc [e15853c:17129659]
- File:
-
- 1 edited
-
src/SynTree/Constant.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Constant.cc
re15853c r17129659 25 25 Constant::Constant( Type * type, std::string rep, double val ) : type( type ), rep( rep ), val( val ) {} 26 26 27 Constant::Constant( const Constant &other ) : rep( other.rep ), val( other.val ) {27 Constant::Constant( const Constant &other ) : BaseSyntaxNode( other ), rep( other.rep ), val( other.val ) { 28 28 type = other.type->clone(); 29 29 }
Note:
See TracChangeset
for help on using the changeset viewer.