浏览代码

* fix crash while compiling webtbf/tw14849

git-svn-id: trunk@34454 -
Jonas Maebe 9 年之前
父节点
当前提交
2f41434284
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      compiler/ncal.pas

+ 2 - 1
compiler/ncal.pas

@@ -1486,7 +1486,8 @@ implementation
          paralength:=-1;
          varargsparas:=nil;
          if assigned(current_structdef) and
-            assigned(mp) then
+            assigned(mp) and
+            assigned(current_procinfo) then
            begin
             { only needed when calling a destructor from an exception block in a
               contructor of a TP-style object }