[fpc-pascal] Using include files in code tools
Ryan Joseph
genericptr at gmail.com
Sat May 9 15:55:24 CEST 2020
> On May 9, 2020, at 4:36 PM, Mattias Gaertner via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
>
> Use Tool.CleanPosToCaret(Node.StartPos,xyp) to get the file, line and
> column.
Thanks, I was just using the raw Node.StartPos location. Is there any flag in a node to know if it came from an include? That would be helpful because otherwise I need to call CleanPosToCaret on every symbol regardless of where it came from.
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list