Don't let outer enclosing handlers propagate to nested function declarations.

This commit is contained in:
Christian Kamm
2008-10-04 12:32:09 +02:00
parent f4da5f4a89
commit 87d885f840

View File

@@ -674,6 +674,7 @@ void FuncDeclaration::semantic3(Scope *sc)
sc2->structalign = 8;
sc2->incontract = 0;
sc2->tf = NULL;
sc2->tfOfTry = NULL;
sc2->noctor = 0;
// Declare 'this'