Browse Source

* po_inline can't be removed from procoptions when the interface part is already parsed. It changes the interface's CRC and causes other units to recompile.

git-svn-id: trunk@40238 -
yury 6 years ago
parent
commit
b115886930
1 changed files with 0 additions and 1 deletions
  1. 0 1
      compiler/psub.pas

+ 0 - 1
compiler/psub.pas

@@ -141,7 +141,6 @@ implementation
 
 
       procedure _no_inline(const reason: TMsgStr);
       procedure _no_inline(const reason: TMsgStr);
         begin
         begin
-          exclude(procdef.procoptions,po_inline);
           Message1(parser_h_not_supported_for_inline,reason);
           Message1(parser_h_not_supported_for_inline,reason);
           Message(parser_h_inlining_disabled);
           Message(parser_h_inlining_disabled);
         end;
         end;