From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,625309cbb3b57a97,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-05 04:13:11 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: meudecc@itcarlow.ie (Chris Meudec) Newsgroups: comp.lang.ada Subject: Problem in gnatxref? Date: 5 Dec 2003 04:13:11 -0800 Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 149.153.4.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1070626391 17092 127.0.0.1 (5 Dec 2003 12:13:11 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 5 Dec 2003 12:13:11 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:3148 Date: 2003-12-05T04:13:11-08:00 List-Id: 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.