Explorar o código

Make sure nf_usercode_entry get transferred inside firstpass procedure

git-svn-id: trunk@49279 -
pierre %!s(int64=4) %!d(string=hai) anos
pai
achega
7721995c71
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      compiler/pass_1.pas

+ 1 - 0
compiler/pass_1.pas

@@ -189,6 +189,7 @@ implementation
                    { should the node be replaced? }
                    if assigned(hp) then
                      begin
+                       hp.flags := hp.flags + (p.flags * [nf_usercode_entry]);
                        p.free;
                        { switch to new node }
                        p:=hp;