aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_ch3.adb
diff options
context:
space:
mode:
authorEtienne Servais <servais@adacore.com>2022-03-16 17:48:22 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2022-05-17 08:25:40 +0000
commit7cff43618e6f300915ff9061608a974728315146 (patch)
tree9396b8f11c5a3532a44d883f02c131e5cdfcdf6d /gcc/ada/sem_ch3.adb
parentbc17882341b506a7e1052fa5be7ddbb3220cb2b1 (diff)
downloadgcc-7cff43618e6f300915ff9061608a974728315146.zip
gcc-7cff43618e6f300915ff9061608a974728315146.tar.gz
gcc-7cff43618e6f300915ff9061608a974728315146.tar.bz2
[Ada] Check token to be "access", reject it if not
The parser skips the token without verifying it is indeed "access". So any token is accepted. gcc/ada/ * par-ch3.adb (P_Access_Type_Definition): Outputs an error if token is not "access".
Diffstat (limited to 'gcc/ada/sem_ch3.adb')
0 files changed, 0 insertions, 0 deletions