[fpc-pascal] fcl-passrc: in which line a TPasElement ends?

Michael Fuchs m.fuchs at ypa-software.de
Mon Nov 6 12:01:43 CET 2017


Am 03.11.2017 um 15:31 schrieb Michael Van Canneyt:
> In this case, you can probably simply use
> TPasTreeContainer.FinishScope
> to record the end of the method.

Great, this is easy. I have created (and attached) a patch to add a
SourceEndLinenummer for all elements.
Maybe it is useful for others or even for the trunk.

Thanks for the help.
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: endlinenumber.diff
Type: text/x-patch
Size: 1616 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20171106/7950e8c6/attachment.bin>


More information about the fpc-pascal mailing list