Index: src/SynTree/Declaration.h
===================================================================
--- src/SynTree/Declaration.h	(revision f135b50a1177372bc7dd5a2dcf75591c4b6ee098)
+++ src/SynTree/Declaration.h	(revision 3e5439987bdaca8e3f69edabd5a99bb0e41316b1)
@@ -339,5 +339,5 @@
 	  LinkageSpec::Spec linkage = LinkageSpec::Cforall,
 	  Type * baseType = nullptr ) : Parent( name, attributes, linkage ) , base( baseType ){}
-	EnumDecl( const EnumDecl & other ) : Parent( other ) {}
+	EnumDecl( const EnumDecl & other ) : Parent( other ), base( other.base ) {}
 
 	bool valueOf( Declaration * enumerator, long long int & value );
