> On May 9, 2020, at 4:36 PM, Mattias Gaertner via fpc-pascal > <fpc-pascal@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 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal