mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-09-17 19:07:05 +02:00
Don't let outer enclosing handlers propagate to nested function declarations.
This commit is contained in:
@@ -674,6 +674,7 @@ void FuncDeclaration::semantic3(Scope *sc)
|
|||||||
sc2->structalign = 8;
|
sc2->structalign = 8;
|
||||||
sc2->incontract = 0;
|
sc2->incontract = 0;
|
||||||
sc2->tf = NULL;
|
sc2->tf = NULL;
|
||||||
|
sc2->tfOfTry = NULL;
|
||||||
sc2->noctor = 0;
|
sc2->noctor = 0;
|
||||||
|
|
||||||
// Declare 'this'
|
// Declare 'this'
|
||||||
|
|||||||
Reference in New Issue
Block a user