On Mon, 23 Apr 2018 12:24:26 +0200
Michael Fuchs <freepas...@ypa-software.de> wrote:

> Hi,
> 
> while working with fcl-passrc I search for a possibility to get the
> comments of a source file in the parsed tree.
> 
> I found TPasTreeContainer.NeedComments but it does nothing.

Set that to true. Then create the parser.
Read Parser.SavedComments on every CreateElement.

Mattias
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to