Browse Source

* Support for bitpacked and removed stray debug writeln

git-svn-id: trunk@10029 -
michael 17 years ago
parent
commit
4c7aab2f15
1 changed files with 5 additions and 2 deletions
  1. 5 2
      utils/fpdoc/dw_html.pp

+ 5 - 2
utils/fpdoc/dw_html.pp

@@ -657,7 +657,7 @@ var
   i: Integer;
   i: Integer;
   PageDoc: TXMLDocument;
   PageDoc: TXMLDocument;
   Filename: String;
   Filename: String;
-begin WriteLn('!!!!!!!!!!!!!!!!!!!!!!1');
+begin 
   if Engine.Output <> '' then
   if Engine.Output <> '' then
     Engine.Output := IncludeTrailingBackSlash(Engine.Output);
     Engine.Output := IncludeTrailingBackSlash(Engine.Output);
   for i := 0 to PageInfos.Count - 1 do
   for i := 0 to PageInfos.Count - 1 do
@@ -1647,7 +1647,10 @@ var
 begin
 begin
   if not (Element.Parent is TPasVariant) then
   if not (Element.Parent is TPasVariant) then
     if Element.IsPacked then
     if Element.IsPacked then
-      AppendKw(CodeEl, 'packed record')
+      If Element.IsBitPacked then
+        AppendKw(CodeEl, 'bitpacked record')
+      else
+        AppendKW(CodeEl, 'packed record')  
     else
     else
       AppendKw(CodeEl, 'record');
       AppendKw(CodeEl, 'record');