sinput-d.adb (Write_Line): Update the Source_Index_Table after each line.
authorThomas Quinot <quinot@adacore.com>
Wed, 15 Feb 2006 09:45:56 +0000 (10:45 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 15 Feb 2006 09:45:56 +0000 (10:45 +0100)
commitb8e51f72bd934e95a47811f99347a7bcf2dfbde6
tree5f3e2352a8e93f22601b9b5d22e424ae989c6705
parent045683693078d55e32bcd836e1e953c7c634a48f
sinput-d.adb (Write_Line): Update the Source_Index_Table after each line.

2006-02-13  Thomas Quinot  <quinot@adacore.com>

* sinput-d.adb (Write_Line): Update the Source_Index_Table after each
line. This is necessary to allow In_Extended_Main_Unit to provide
correct results for itypes while writing out expanded source.
(Close_File): No need to update the source_index_table here since it's
now done for each line.

From-SVN: r111098
gcc/ada/sinput-d.adb