diff options
author | Yannick Moy <moy@adacore.com> | 2020-12-11 11:32:07 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-04-29 04:00:42 -0400 |
commit | 2baa4614c8f91015f06b69f09f3ce6360a77c5a8 (patch) | |
tree | 9b288ce29ccdbaca2f9bf6c743bdeb1b9b4c8bb0 /gcc/expr.c | |
parent | 4d7c874e2c64ebf7631049ace642d246843febae (diff) | |
download | gcc-2baa4614c8f91015f06b69f09f3ce6360a77c5a8.zip gcc-2baa4614c8f91015f06b69f09f3ce6360a77c5a8.tar.gz gcc-2baa4614c8f91015f06b69f09f3ce6360a77c5a8.tar.bz2 |
[Ada] Fixes in the use of spans for error locations
gcc/ada/
* errout.adb (Error_Msg_NEL): Extract span from node.
(First_And_Last_Nodes): Use spans for subtype indications and
attribute definition clauses.
(Write_Source_Code_Lines): Fix for tabulation characters. Change
output for large spans to skip intermediate lines.
* sem_case.adb (Check_Choice_Set): Report duplicate choice on
the Original_Node for the case.
(Generic_Check_Choices): Set the Original_Node for the rewritten
case, so that the subtree used in spans has the correct
locations.
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions