ali.ads, ali.adb (Scan_ALI): Initialize XE.Tref to a known default value.
authorEmmanuel Briot <briot@adacore.com>
Mon, 15 Oct 2007 13:54:12 +0000 (15:54 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 15 Oct 2007 13:54:12 +0000 (15:54 +0200)
commit250db54966b8b904a54eff9d940cb84f799c5331
treef0252da96af134155da2f1882eb63debedfb2dd7
parentaace458a3ebb6f55045922bbccd23926e2d16e71
ali.ads, ali.adb (Scan_ALI): Initialize XE.Tref to a known default value.

2007-10-15  Emmanuel Briot  <briot@adacore.com>

* ali.ads, ali.adb (Scan_ALI): Initialize XE.Tref to a known default
value.
(Xref_Record): Change type for Line, since in the case of a reference to
a predefined entity (as happens for array index types), the line is set
to 0.
Add support for parsing multiple array index types info, or
multiple inherited interfaces info. This information cannot be stored
in Xref_Entity_Record, which only supports a single instance of Tref_*,
and is therefore stored in the list of references instead. It has a
special treatement later on in tools that use this information.

From-SVN: r129320
gcc/ada/ali.adb
gcc/ada/ali.ads