ソースを参照

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

git-svn-id: trunk@48760 -
svenbarth 4 年 前
コミット
c7f4be71dc
1 ファイル変更1 行追加0 行削除
  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