Index: src/SynTree/Declaration.h
===================================================================
--- src/SynTree/Declaration.h	(revision 5e2c348d7200f13e88bb910c1e095982dd72bc7b)
+++ src/SynTree/Declaration.h	(revision bc6f9183d7f12eaeee38caea9daf1b32b27f002a)
@@ -151,4 +151,5 @@
 	FunctionType *type;
 	CompoundStmt *statements;
+	std::list< Expression * > withExprs;
 
 	FunctionDecl( const std::string &name, Type::StorageClasses scs, LinkageSpec::Spec linkage, FunctionType *type, CompoundStmt *statements,
Index: src/SynTree/FunctionDecl.cc
===================================================================
--- src/SynTree/FunctionDecl.cc	(revision 5e2c348d7200f13e88bb910c1e095982dd72bc7b)
+++ src/SynTree/FunctionDecl.cc	(revision bc6f9183d7f12eaeee38caea9daf1b32b27f002a)
@@ -51,4 +51,5 @@
 		VarExprReplacer::replace( this, declMap );
 	}
+	cloneAll( other.withExprs, withExprs );
 }
 
@@ -56,4 +57,5 @@
 	delete type;
 	delete statements;
+	deleteAll( withExprs );
 }
 
