From: Leandro Ribeiro <leandrobribeiro@gmail.com>
Subject: Re: ALI Files Cross-References Inconsistency?
Date: Fri, 14 Aug 2020 01:11:23 -0700 (PDT) [thread overview]
Message-ID: <20b0ed7c-15f3-4a40-b7f6-cf80a4ec4e0do@googlegroups.com> (raw)
In-Reply-To: <b9dd9446-ce44-485a-a5f1-3b8abd2e8adbo@googlegroups.com>
Am Donnerstag, 13. August 2020 19:17:55 UTC+2 schrieb Egil H H:
> On Thursday, August 13, 2020 at 5:24:47 PM UTC+2, Leandro Ribeiro wrote:
> >
> > I would expect every reference to point to the beginning of the symbol, as it is the case with "3K9*excep2".
> > However, all other references to the symbols from excep2.ads are exactly 4 columns ahead of the "expected point".
> > And all the references to the symbols from excep2.adb are exactly 12 columns ahead of the "expected point".
> >
> >
> > Question:
> > Is this a bug?
> > Or did a miss any rule about adding offsets to the references?
> >
>
> Did you by any chance use the TAB character as delimiter? There's a fair chance it would count as 8 when calculating the position
Bingo!
My text editor counts tabs as 4 columns.
The offsets were 4*NumberOfTabs.
I replaced the tabs with spaces, and the ALI file is perfect now.
Thanks a lot!
next prev parent reply other threads:[~2020-08-14 8:11 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-13 15:24 ALI Files Cross-References Inconsistency? Leandro Ribeiro
2020-08-13 15:55 ` Dennis Lee Bieber
2020-08-13 21:18 ` Simon Wright
2020-08-14 19:45 ` Dennis Lee Bieber
2020-08-13 17:17 ` Egil H H
2020-08-14 8:11 ` Leandro Ribeiro [this message]
2020-08-14 16:35 ` Per Sandberg
2020-08-14 17:23 ` Simon Wright
2020-08-15 7:56 ` J-P. Rosen
2020-08-14 19:47 ` Dennis Lee Bieber
2020-09-25 16:16 ` Stephen Leake
2020-09-25 19:35 ` Dmitry A. Kazakov
2020-09-25 22:33 ` Stephen Leake
2020-09-26 8:03 ` Dmitry A. Kazakov
2020-09-30 9:53 ` wj46633
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox