On 09/05/2014 09:35 AM, Patrick Goupell wrote:

On 09/05/2014 02:32 AM, Graeme Geldenhuys wrote:


Ah, now I see what you mean. When I started working with your XML file I immediately commented all but the msedataedits unit and the output was perfect, then added all the others back in, but never rechecked the msedataedits output.

I see the same problem appears in the INF help format too. In fact using DocView it is really easy to see that about 5 others units have the same problem (the Contents treeview doesn't have child tree nodes).

Seems like a bug in fpdoc - I'll debug it and see if I can find the problem.

At least one can start documenting the units, now that an easy to use fpdoc project file is available for MSEide.


I tracked down the possible problem and this is what I found:


This is the one that prevents msedataedits.pas from documenting. Got this error message Parsing used unit "msescrollbar" with commandLine "-Fu../mseide-msegui/lib/common/* -Fu../mseide-msegui/lib/common/kernel/linux -Fi../mseide-msegui/lib/common/kernel ../mseide-msegui/lib/common/kernel/msescrollbar.pas" ../mseide-msegui/lib/common/kernel/msescrollbar.pas(253,67): Expected "," or ":" at token "." in file ../mseide-msegui/lib/common/kernel/msescrollbar.pas at line 253 column 67

Also got these errors from fpdoc as well

/data/patrick/mseide-msegui/lib/common/db/ibase60.inc(1795,86): Syntax error at token "Identifier error" in file /data/patrick/mseide-msegui/lib/common/db/ibase60.inc at line 1795 column 86


Parsing used unit "msectypes" with commandLine "-Fu../mseide-msegui/lib/common/* -Fu../mseide-msegui/lib/common/kernel/linux -Fi../mseide-msegui/lib/common/kernel ../mseide-msegui/lib/common/kernel/msectypes.pas" ../mseide-msegui/lib/common/graphics/msefreetype.pas(273,11): Syntax error in type at token "generic" in file ../mseide-msegui/lib/common/graphics/msefreetype.pas at line 273 column 11


Parsing used unit "jmorecfg_del" with commandLine "-Fu../mseide-msegui/lib/common/* -Fu../mseide-msegui/lib/common/kernel/linux -Fi../mseide-msegui/lib/common/kernel ../mseide-msegui/lib/common/fpccompatibility/jmorecfg_del.pas" ../mseide-msegui/lib/common/fpccompatibility/jmorecfg_del.pas(224,19): Syntax error at token "EOF" in file ../mseide-msegui/lib/common/fpccompatibility/jmorecfg_del.pas at line 224 column 19


Parsing used unit "JcParam_del" with commandLine "-Fu../mseide-msegui/lib/common/* -Fu../mseide-msegui/lib/common/kernel/linux -Fi../mseide-msegui/lib/common/kernel ../mseide-msegui/lib/common/fpccompatibility/jcparam_del.pas" ../mseide-msegui/lib/common/fpccompatibility/jctrans_del.pas(0,0): Could not find include file 'jconfig.inc'


../mseide-msegui/lib/common/fpccompatibility/jdtrans_del.pas(0,0): Could not find include file 'jconfig.inc' ../mseide-msegui/lib/common/fpccompatibility/jidct2d_del.pas(0,0): Could not find include file 'jconfig.inc' ../mseide-msegui/lib/common/fpccompatibility/jidctasm_del.pas(0,0): Could not find include file 'jconfig.inc' ../mseide-msegui/lib/common/fpccompatibility/jmemdos_del.pas(0,0): Could not find include file 'jconfig.inc'


../mseide-msegui/lib/common/fpccompatibility/jmemsys_del.pas(46,16): Expected "=" at token "procedure" in file ../mseide-msegui/lib/common/fpccompatibility/jmemsys_del.pas at line 46 column 16


../mseide-msegui/lib/common/graphics/msefreetype.pas(273,11): Syntax error in type at token "generic" in file ../mseide-msegui/lib/common/graphics/msefreetype.pas at line 273 column 11


Parsing used unit "mxrender" with commandLine "-Fu../mseide-msegui/lib/common/* -Fu../mseide-msegui/lib/common/kernel/linux -Fi../mseide-msegui/lib/common/kernel ../mseide-msegui/lib/common/kernel/linux/mxrender.pas" ../mseide-msegui/lib/common/kernel/linux/msesocketintf.pas(0,0): Could not find include file '..\msesocketintf.inc' ../mseide-msegui/lib/common/kernel/linux/msesysintf1.pas(0,0): Could not find include file '..\msesysintf1.inc'


Parsing used unit "mxrender" with commandLine "-Fu../mseide-msegui/lib/common/* -Fu../mseide-msegui/lib/common/kernel/linux -Fi../mseide-msegui/lib/common/kernel ../mseide-msegui/lib/common/kernel/linux/mxrender.pas" ../mseide-msegui/lib/common/kernel/linux/msesocketintf.pas(0,0): Could not find include file '..\msesocketintf.inc' ../mseide-msegui/lib/common/kernel/linux/msesysintf1.pas(0,0): Could not find include file '..\msesysintf1.inc'


../mseide-msegui/lib/common/report/msereport.pas(314,70): Expected "," or ":" at token "Identifier write" in file ../mseide-msegui/lib/common/report/msereport.pas at line 314 column 70




Starting to work on the <descriptions> files. Any suggestions on how to lay them out?

Patrick
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to