From 5779e316a07f7a78562c989d7eefd213d96222c1 Mon Sep 17 00:00:00 2001 From: Luiz Rafael Culik Date: Wed, 16 Aug 2000 09:08:16 +0000 Subject: [PATCH] See changelog 2000-08-15 21:15 GMT -3 --- harbour/utils/hbdoc/genhtm.prg | 9 +++++++- harbour/utils/hbdoc/hbdoc.prg | 40 +++++++++++++++++----------------- 2 files changed, 28 insertions(+), 21 deletions(-) diff --git a/harbour/utils/hbdoc/genhtm.prg b/harbour/utils/hbdoc/genhtm.prg index b82d4d815d..8a55c0cd9e 100644 --- a/harbour/utils/hbdoc/genhtm.prg +++ b/harbour/utils/hbdoc/genhtm.prg @@ -52,7 +52,7 @@ #define LONGONELINE 86 MEMVAR aDirList MEMVAR aDocInfo -MEMVAR aWww +MEMVAR aWww,aResult STATIC aAlso STATIC aFiTable := {} @@ -269,6 +269,13 @@ FUNCTION ProcessWww() cFuncName := "Unknown" ENDIF AADD( aDocInfo, { cCategory, cFuncName, cOneLine, cFileName } ) + nPos := ascan(aResult,{|a| UPPER(a) == UPPER(cCategory)}) + if nPos==0 + if cCategory<>"Document" + aadd(aResult,cCategory) + endif + endif + // Now close down this little piece IF .NOT. EMPTY( cSeeAlso ) diff --git a/harbour/utils/hbdoc/hbdoc.prg b/harbour/utils/hbdoc/hbdoc.prg index e79b21b8b9..49080cdc6c 100644 --- a/harbour/utils/hbdoc/hbdoc.prg +++ b/harbour/utils/hbdoc/hbdoc.prg @@ -480,7 +480,7 @@ FUNCTION MAIN( cFlags, cLinkName, cAtFile ) FWRITE( nHpj, '1 Harbour Runtime functions Category'+CRLF) asort(aWww,,,{|x,y| x[3]Alphabetical list of functions by Categorie" ) ohtm1:writetext('') ohtm1:close() @@ -1410,10 +1402,18 @@ asort(aTemp,,,{|x,y| x[1]