瀏覽代碼

--- Merging r30609 into '.':
U utils/fpdoc/fpdoc.pp
--- Merging r30624 into '.':
U utils/fpdoc/dglobals.pp
--- Merging r30742 into '.':
U utils/fpdoc/unitdiff.pp

# revisions: 30609,30624,30742

git-svn-id: branches/fixes_3_0@30826 -

marco 10 年之前
父節點
當前提交
25b9f31f0f
共有 3 個文件被更改,包括 3 次插入4 次删除
  1. 0 3
      utils/fpdoc/dglobals.pp
  2. 1 1
      utils/fpdoc/fpdoc.pp
  3. 2 0
      utils/fpdoc/unitdiff.pp

+ 0 - 3
utils/fpdoc/dglobals.pp

@@ -475,9 +475,6 @@ begin
       LastChild := Child;
       LastChild := Child;
       Child := Child.NextSibling;
       Child := Child.NextSibling;
     end;
     end;
-    { No child found, let's create one if we are at the end of the path }
-    if DotPos > 0 then
-      Raise Exception.CreateFmt('Link path does not exist: %s',[APathName]);
     Result := TLinkNode.Create(ChildName, ALinkTo);
     Result := TLinkNode.Create(ChildName, ALinkTo);
     if Assigned(LastChild) then
     if Assigned(LastChild) then
       LastChild.FNextSibling := Result
       LastChild.FNextSibling := Result

+ 1 - 1
utils/fpdoc/fpdoc.pp

@@ -284,7 +284,7 @@ begin
   else if s = '--warn-no-node' then
   else if s = '--warn-no-node' then
     FCreator.Options.WarnNoNode := True
     FCreator.Options.WarnNoNode := True
   else if s = '--show-private' then
   else if s = '--show-private' then
-    FCreator.Options.ShowPrivate := False
+    FCreator.Options.ShowPrivate := True
   else if s = '--stop-on-parser-error' then
   else if s = '--stop-on-parser-error' then
     FCreator.Options.StopOnParseError := True
     FCreator.Options.StopOnParseError := True
   else if s = '--dont-trim' then
   else if s = '--dont-trim' then

+ 2 - 0
utils/fpdoc/unitdiff.pp

@@ -12,6 +12,8 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 }
 }
 
 
+{$mode objfpc}
+{$h+}
 
 
 program unitdiff;
 program unitdiff;