Forráskód Böngészése

* correctly set the defowner of the exception symtable to the surrounding routine as suggested by Blaise.ru

git-svn-id: trunk@48760 -
svenbarth 4 éve
szülő
commit
c7f4be71dc
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      compiler/pstatmnt.pas

+ 1 - 0
compiler/pstatmnt.pas

@@ -991,6 +991,7 @@ implementation
                                sym:=clocalvarsym.create('$exceptsym',vs_value,ot,[]);
                             end;
                           excepTSymtable:=tstt_excepTSymtable.create;
+                          excepTSymtable.defowner:=current_procinfo.procdef;
                           excepTSymtable.insert(sym);
                           symtablestack.push(excepTSymtable);
                        end