Ver Fonte

* set correct fileinfo for statements_til_end() block

git-svn-id: trunk@42044 -
Jonas Maebe há 6 anos atrás
pai
commit
f76cde1c4c
1 ficheiros alterados com 2 adições e 0 exclusões
  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;