From: meudecc@itcarlow.ie (Chris Meudec)
Subject: Problem in gnatxref?
Date: 5 Dec 2003 04:13:11 -0800
Date: 2003-12-05T04:13:11-08:00 [thread overview]
Message-ID: <d22400bd.0312050413.5fdaf6eb@posting.google.com> (raw)
Hi all,
gnatxref does not seem to cross reference record field names in record
aggregates. I am using gnat 3.13p.
For example, with
package gnatxref_pb is
type Dis is
record
Lane : BOOLEAN;
Ded : BOOLEAN;
end record;
Out_DiscreteInputs :Dis := Dis'( Lane => true,
Ded => not true
);
end gnatxref_pb;
gnatxref outputs the following:
Ded Type:
Enum
Decl: gnatxref_pb.ads 6:7
Dis Type:
Record
Decl: gnatxref_pb.ads 3:6
Ref: gnatxref_pb.ads 9:21 9:28
Lane Type:
Enum
Decl: gnatxref_pb.ads 5:7
Out_DiscreteInputs Type:
Record
Decl: gnatxref_pb.ads 9:1
gnatxref_pb Type:
Unit
Decl: gnatxref_pb.ads 1:9
as you can see 'Lane' and 'Ded' are properly xref on declaration but
not on reference in the aggregate.
Why is that? Should I switch to a newer version of gnatxref? Is there
other identifiers that are not xrefed?
How can this problem be fixed?
Best regards,
Chris.
next reply other threads:[~2003-12-05 12:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-05 12:13 Chris Meudec [this message]
2003-12-05 14:14 ` Problem in gnatxref? Stephen Leake
[not found] ` <uu14fqrlk.fsf@acm.org>
2003-12-08 11:16 ` Chris Meudec
2003-12-08 11:16 ` Chris Meudec
-- strict thread matches above, loose matches on Subject: below --
2003-12-11 14:42 ada_wizard
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox