Browse Source

* forgot a commit

florian 21 years ago
parent
commit
87b24ee42c
1 changed files with 8 additions and 2 deletions
  1. 8 2
      compiler/psub.pas

+ 8 - 2
compiler/psub.pas

@@ -990,7 +990,10 @@ implementation
            normal procedures only store a reference to the
            normal procedures only store a reference to the
            current tree }
            current tree }
          if (procdef.proccalloption=pocall_inline) then
          if (procdef.proccalloption=pocall_inline) then
-           procdef.inlininginfo^.code:=code.getcopy
+           begin
+             procdef.inlininginfo^.code:=code.getcopy;
+             procdef.inlininginfo^.flags:=current_procinfo.flags;
+           end
          else
          else
            procdef.inlininginfo^.code:=code;
            procdef.inlininginfo^.code:=code;
 
 
@@ -1331,7 +1334,10 @@ implementation
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.178  2003-12-16 21:29:24  florian
+  Revision 1.179  2003-12-16 22:36:19  florian
+    * forgot a commit
+
+  Revision 1.178  2003/12/16 21:29:24  florian
     + inlined procedures inherit procinfo flags
     + inlined procedures inherit procinfo flags
 
 
   Revision 1.177  2003/12/15 21:25:48  peter
   Revision 1.177  2003/12/15 21:25:48  peter