Forráskód Böngészése

Make sure nf_usercode_entry get transferred inside firstpass procedure

git-svn-id: trunk@49279 -
pierre 4 éve
szülő
commit
7721995c71
1 módosított fájl, 1 hozzáadás és 0 törlés
  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;