diff dmd/func.c @ 644:49466efd4fba

Don't let outer enclosing handlers propagate to nested function declarations.
author Christian Kamm <kamm incasoftware de>
date Sat, 04 Oct 2008 12:32:09 +0200
parents 6aee82889553
children 50383e476c7e
line wrap: on
line diff
--- a/dmd/func.c	Fri Oct 03 19:24:46 2008 +0200
+++ b/dmd/func.c	Sat Oct 04 12:32:09 2008 +0200
@@ -674,6 +674,7 @@
 	sc2->structalign = 8;
 	sc2->incontract = 0;
 	sc2->tf = NULL;
+	sc2->tfOfTry = NULL;
 	sc2->noctor = 0;
 
 	// Declare 'this'