Browse Source

* disable friendly message because the fileexistance test is not reliable at this point.

git-svn-id: trunk@29548 -
marco 10 years ago
parent
commit
53b06fa861
1 changed files with 3 additions and 2 deletions
  1. 3 2
      utils/fpdoc/makeskel.pp

+ 3 - 2
utils/fpdoc/makeskel.pp

@@ -356,8 +356,9 @@ Var
   N : TDocNode;
      
 begin
-  if not(FileExists(AFileName)) then
-    raise Exception.CreateFmt('Cannot find source file %s to document.',[AFileName]);
+// wrong because afilename is a cmdline with other options. Straight testing filename is therefore wrong.
+//  if not(FileExists(AFileName)) then
+//    raise Exception.CreateFmt('Cannot find source file %s to document.',[AFileName]);
   FNodeList:=TStringList.Create;
   Try
     FEmittedList:=TStringList.Create;