aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorYannick Moy <moy@adacore.com>2020-12-11 11:32:07 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2021-04-29 04:00:42 -0400
commit2baa4614c8f91015f06b69f09f3ce6360a77c5a8 (patch)
tree9b288ce29ccdbaca2f9bf6c743bdeb1b9b4c8bb0 /gcc/expr.c
parent4d7c874e2c64ebf7631049ace642d246843febae (diff)
downloadgcc-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