On Tue, 7 Jul 2020 14:09:09 +0700
Ryan Joseph via fpc-pascal wrote:
> > On Jul 7, 2020, at 4:57 AM, Mattias Gaertner via fpc-pascal
> > wrote:
> >
> > Something like this:
> >
> > Node:=AItem.Node;
> > if Node<>nil then
> > begin
> > Scanner:=Tool.Scanner;
Scanner:=AItem.Tool.Scanner;
> >
> On Jul 7, 2020, at 4:57 AM, Mattias Gaertner via fpc-pascal
> wrote:
>
> Something like this:
>
> Node:=AItem.Node;
> if Node<>nil then
> begin
> Scanner:=Tool.Scanner;
> LinkIndex:=Scanner.LinkIndexAtCleanPos(Node.StartPos);
> if LinkIndex<0 then
>// dangling node, e.g. syntax error
On Mon, 6 Jul 2020 10:27:55 +0700
Ryan Joseph via fpc-pascal wrote:
> Currently I walk the node tree for a given unit and collect all the
> relevant symbols into a list which represents the symbols in the
> current document. I'm running into problems with include files
> because I'm getting symbo
Currently I walk the node tree for a given unit and collect all the relevant
symbols into a list which represents the symbols in the current document. I'm
running into problems with include files because I'm getting symbols which
technically belong to another file which should not be displayed a