浏览代码

* set correct fileinfo for statements_til_end() block

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

+ 2 - 0
compiler/pstatmnt.pas

@@ -109,6 +109,8 @@ implementation
            end;
          consume(_END);
          statements_til_end:=cblocknode.create(first);
+         if assigned(first) then
+           statements_til_end.fileinfo:=first.fileinfo;
       end;