|
From: Hans-Peter D. <DrD...@ao...> - 2010-04-26 13:09:05
|
Michalis Kamburelis schrieb: > Unfortunately, the parser inside the compiler isn't really reusable. Too bad :-( I hoped that it could be made usable, with a few patches. Lazarus also would be happy with it... > For PasDoc we'll also need to modify it to gather the comments and > attach them to the item (following PasDoc' logic of glueing // comments, > back comments by //< and such), currently it just discards the comments > as far as I can see. Perhaps we can add an option, how to deal with comments. Did you have an look at FPDoc? > Also, if you want to keep PasDoc compileable with Delphi (not only FPC), > you will have to test and eventually fix fcl-passrc compilation with Delphi. I have no newer Delphi version at hand. A conversion to Unicode (D2009+) may require much work. > So: I'm all after using fcl-passrc :), but for now we have to use > pasdoc's internal parser. When a new parser shall be integrated, it deserves many changes in the item classes. I've tried to prepare the documenters to handle the stored lists more flexible, but new branches in the source tree (local types, interface/implementation) will deserve according implementation in every document generator. DoDi |