<div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr">Michael Van Canneyt <<a href="mailto:michael@freepascal.org">michael@freepascal.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On Mon, 23 Apr 2018, Michael Fuchs wrote:<br>
<br>
> Am 23.04.2018 um 12:43 schrieb Mattias Gaertner:<br>
>>> I found TPasTreeContainer.NeedComments but it does nothing.<br>
>> <br>
>> Set that to true. Then create the parser.<br>
><br>
> Ok, so I can not use the function ParseSource from unit PParser anymore<br>
> and have to write my own one?<br>
><br>
>> Read Parser.SavedComments on every CreateElement.<br>
><br>
> Can I save the comments in the DocComment property of every element or<br>
> is this used somewhere else?<br>
<br>
It's normally not used; The idea is to use this in a pasdoc->fpdoc<br>
converter.<br></blockquote></div><div dir="auto"><br></div><div dir="auto">Or the PasDoc inplementation itself :) I want to one day migrate PasDoc code to just use fcl-passrc parser. Currently PasDoc uses custom parser, that reads only interface.</div><div dir="auto"><br></div><div dir="auto">Thanks for making this available.</div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Michalis</div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div>