Browse Source

* Fix bug ID #0037538 (need implementation for dummy bodys)

git-svn-id: trunk@46360 -
michael 5 years ago
parent
commit
b50734c037
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-passrc/src/paswrite.pp

+ 1 - 1
packages/fcl-passrc/src/paswrite.pp

@@ -887,7 +887,7 @@ begin
     PrepareDeclSection('');
   if Not IsImpl then
     IsImpl:=FInImplementation;
-  if FInImplementation and (Assigned(AProc.LibraryExpr) or Assigned(AProc.LibrarySymbolName)) and HasOption(woSkipPrivateExternals)  then
+  if FInImplementation and not forcebody and (Assigned(AProc.LibraryExpr) or Assigned(AProc.LibrarySymbolName)) and HasOption(woSkipPrivateExternals)  then
     Exit;
   Add(AProc.TypeName + ' ' + NamePrefix+AProc.SafeName);
   if Assigned(AProc.ProcType) and (AProc.ProcType.Args.Count > 0) then