Browse Source

+ Patch from Charlie/iNQ to work with new scanner/parser

michael 22 years ago
parent
commit
1b26040053
1 changed files with 7 additions and 2 deletions
  1. 7 2
      utils/fpdoc/makeskel.pp

+ 7 - 2
utils/fpdoc/makeskel.pp

@@ -41,6 +41,8 @@ type
 
 const
   CmdLineAction: TCmdLineAction = actionConvert;
+  OSTarget: String = {$I %FPCTARGETOS%};
+  CPUTarget: String = {$I %FPCTARGETCPU%};
 
 var
   InputFiles, DescrFiles: TStringList;
@@ -252,7 +254,7 @@ begin
     // Process all source files
     for i := 0 to InputFiles.Count - 1 do
     begin
-      Module := ParseSource(Engine, InputFiles[i]);
+      Module := ParseSource(Engine, InputFiles[i], OSTarget, CPUTarget);
       try
 	WriteLn(f, '</module> <!-- ', Module.Name, ' -->');
       finally
@@ -274,7 +276,10 @@ end.
 
 {
   $Log$
-  Revision 1.1  2003-03-17 23:03:20  michael
+  Revision 1.2  2003-03-28 13:01:36  michael
+  + Patch from Charlie/iNQ to work with new scanner/parser
+
+  Revision 1.1  2003/03/17 23:03:20  michael
   + Initial import in CVS
 
   Revision 1.7  2003/03/13 22:02:13  sg