aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/init.c
diff options
context:
space:
mode:
authorYannick Moy <moy@adacore.com>2022-04-27 09:52:55 +0200
committerPierre-Marie de Rodat <derodat@adacore.com>2022-06-01 08:43:16 +0000
commit94e416d23b8cb2824d395230f23fac300ee6d496 (patch)
tree046aa4f552274cafbee7da98167ac98b6b0fe9f5 /gcc/ada/init.c
parent73514ab714d651795c10e0790217a67eb6b41b48 (diff)
downloadgcc-94e416d23b8cb2824d395230f23fac300ee6d496.zip
gcc-94e416d23b8cb2824d395230f23fac300ee6d496.tar.gz
gcc-94e416d23b8cb2824d395230f23fac300ee6d496.tar.bz2
[Ada] Issue better error message for out-of-order keywords in record def
Various cases of out-of-order keywords in the definition of a record were already detected. This adds a similar detection after NULL and RECORD keywords. gcc/ada/ * par-ch3.adb (P_Known_Discriminant_Part_Opt): Reword error message to benefit from existing codefix. (P_Record_Definition): Detect out-of-order keywords in record definition and issue appropriate messages. Other cases are already caught at appropriate places.
Diffstat (limited to 'gcc/ada/init.c')
0 files changed, 0 insertions, 0 deletions