aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorRonan Desplanques <desplanques@adacore.com>2024-03-08 14:42:59 +0100
committerMarc Poulhiès <poulhies@adacore.com>2024-05-17 10:21:03 +0200
commit34ac60eb88e489991b420e82b98a039a31df262f (patch)
treeb177caddbdf33772075b6c52ebba8d30ec1cabad /libcpp
parentd77c12eb33c7a0a461f6928a8fb303378aaf2e2f (diff)
downloadgcc-34ac60eb88e489991b420e82b98a039a31df262f.zip
gcc-34ac60eb88e489991b420e82b98a039a31df262f.tar.gz
gcc-34ac60eb88e489991b420e82b98a039a31df262f.tar.bz2
ada: Fix others error message location
Before this patch, the compiler pointed at the wrong component association when reporting an illegal occurrence of "others" in an aggregate. This patch fixes this by keeping track of which choice contains the occurrence of "others" when resolving array aggregates. gcc/ada/ * sem_aggr.adb (Resolve_Array_Aggregate): Fix location of error message.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions