浏览代码

* initialize errorp1 for classrefdef after r31856 (mantis #28741, but this
doesn't fix it as there are more problems)

git-svn-id: trunk@31884 -

Jonas Maebe 9 年之前
父节点
当前提交
2b01a7e2c6
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      compiler/pexpr.pas

+ 1 - 0
compiler/pexpr.pas

@@ -2408,6 +2408,7 @@ implementation
                      end;
                   classrefdef:
                     begin
+                      erroroutp1:=true;
                       if token=_ID then
                         begin
                           structh:=tobjectdef(tclassrefdef(p1.resultdef).pointeddef);