|
From: Michalis K. <mic...@gm...> - 2009-07-11 00:39:05
|
David Keith wrote: > I’m a new user of PasDoc, and have used the PasDoc GUI to generate help > for a large Delphi 2009 project. I really like the way this works. I > have downloaded the source for the GUI & for PasDoc, and am looking at > the code to try to figure out why some units that were specified in the > PasDoc GUI are ‘missed’ during the generation process. I’ve also > reviewed the ‘plugins’ to find out how hard it would be to add features > to the HTML or HTMLHelp output, and to determine how hard it would be to > add database storage/retrieval to this system. > > > > I’ve installed Lazarus/FPC 2.2.4, and have been working at debugging the > code. Whenever I try to generate documentation using the .pds file that > I created from the downloaded .exe for PasDoc_GUI, I get the following > errors: > > > > Project pasdoc_gui raised exception class ‘EPasDoc’ with message: > > <source path>\<filename><.inc,.pas,.pp etc.>(</n>/): reserved word > “library” expected but reserved word “Function” found. > What version of PasDoc source code do you get? SVN (trunk? or from some tag / branch) or the zip from http://sourceforge.net/projects/pasdoc/files/ from "PasDoc Sources"? In any case, 1. you should check if command-line pasdoc makes the same error, 2. submit the exact source code on which pasdoc (GUI or command-line) fails, then we can say more about the problem... And yeah, like DoDi suggests try also the PasDoc2 branch --- it's not merged yet, but there are some fixes for newer Delphi's syntax. (Although "library" should work everywhere, both in trunk and PasDoc2.) > > > On a separate note, we are considering pasdoc as the tool that we use to > document our voluminous Delphi source, but are looking for some > additional features. We would consider paying someone who is well versed > with pasdoc/pasdoc_gui source to add some features if the price is right. > I'm interested in keeping pasdoc alive (I use it in my own projects), but admittedly don't have time to work on it now much (neither free or paid). But this is open-source: just submit bugs / feature requests, maybe they will be just easy or, if feature request is sensible, maybe someone interested will just pick it up. And maybe even see if you can do it yourself (that's the point of giving you the source code after all :) ). Michalis |