mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 00:59:30 +02:00
* --parse-impl option for testing.
git-svn-id: trunk@15797 -
This commit is contained in:
parent
2518a87deb
commit
9e56c4e8ab
@ -28,7 +28,7 @@ uses Classes, DOM, PasTree, PParser;
|
||||
Var
|
||||
LEOL : Integer;
|
||||
modir : string;
|
||||
|
||||
|
||||
resourcestring
|
||||
// Output strings
|
||||
SDocPackageTitle = 'Reference for package ''%s''';
|
||||
@ -142,7 +142,7 @@ resourcestring
|
||||
SUsageOption160 = '--show-private Show private methods.';
|
||||
SUsageOption170 = '--warn-no-node Warn if no documentation node was found.';
|
||||
SUsageOption180 = '--mo-dir=dir Set directory where language files reside to dir';
|
||||
|
||||
SUsageOption190 = '--parse-impl (Experimental) try to parse implementation too';
|
||||
SUsageFormats = 'The following output formats are supported by this fpdoc:';
|
||||
SUsageBackendHelp = 'Specify an output format, combined with --help to get more help for this backend.';
|
||||
SUsageFormatSpecific = 'Output format "%s" supports the following options:';
|
||||
|
@ -71,6 +71,7 @@ begin
|
||||
Writeln(SUsageOption160);
|
||||
Writeln(SUsageOption170);
|
||||
Writeln(SUsageOption180);
|
||||
Writeln(SUsageOption190);
|
||||
L:=TStringList.Create;
|
||||
Try
|
||||
If (Backend='') then
|
||||
@ -208,6 +209,8 @@ begin
|
||||
CPUTarget := Arg
|
||||
else if Cmd = '--mo-dir' then
|
||||
modir := Arg
|
||||
else if Cmd = '--parse-impl' then
|
||||
Engine.InterfaceOnly:=false
|
||||
else
|
||||
begin
|
||||
BackendOptions.Add(Cmd);
|
||||
|
Loading…
Reference in New Issue
Block a user