Explorar o código

* Fix compilation

git-svn-id: trunk@48165 -
(cherry picked from commit 4c22d66aac5663804f6f4b9af16ce267ec06ac7b)
michael %!s(int64=4) %!d(string=hai) anos
pai
achega
74e0430919
Modificáronse 3 ficheiros con 6 adicións e 10 borrados
  1. 2 9
      utils/fpdoc/fpdocxmlopts.pas
  2. 3 0
      utils/fpdoc/fpmake.pp
  3. 1 1
      utils/fpdoc/makeskel.pp

+ 2 - 9
utils/fpdoc/fpdocxmlopts.pas

@@ -44,15 +44,8 @@ Const
 
 implementation
 
-Uses XMLRead, XMLWrite;
-
-Resourcestring
-  SErrInvalidRootNode = 'Invalid options root node: Got "%s", expected "docproject"';
-  SErrNoPackagesNode = 'No "packages" node found in docproject';
-  SErrNoInputFile = 'unit tag without file attribute found';
-  SErrNoDescrFile = 'description tag without file attribute';
-  SErrNoImportFile = 'Import tag without file attribute';
-  SErrNoImportPrefix = 'Import tag without prefix attribute';
+Uses fpdocstrs, XMLRead, XMLWrite;
+
 
 { TXMLFPDocOptions }
 

+ 3 - 0
utils/fpdoc/fpmake.pp

@@ -74,6 +74,9 @@ begin
     T.install:=false;
     T.ResourceStrings:=true;
 
+    T := P.Targets.AddUnit('dglobals.pp');
+    T.install:=false;
+
     T := P.Targets.AddUnit('dwriter.pp');
     T.install:=false;
 

+ 1 - 1
utils/fpdoc/makeskel.pp

@@ -23,7 +23,7 @@ program MakeSkel;
 {$h+}
 
 uses
-  SysUtils, Classes, Gettext, dGlobals, PasTree, PParser,PScanner;
+  fpdocstrs, SysUtils, Classes, Gettext, dGlobals, PasTree, PParser,PScanner;
 
 resourcestring
   STitle = 'MakeSkel - FPDoc skeleton XML description file generator';