diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2021-01-16 00:00:35 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-05-06 03:51:25 -0400 |
commit | af9833a10a6b8f98147ced304c39285848cd9f6d (patch) | |
tree | 30cbbd649877a5b154d2448c902db3eb6747b09d /gcc/ada/init.c | |
parent | e45796fe051db3a9f35a8a7fb4093f3852cadab4 (diff) | |
download | gcc-af9833a10a6b8f98147ced304c39285848cd9f6d.zip gcc-af9833a10a6b8f98147ced304c39285848cd9f6d.tar.gz gcc-af9833a10a6b8f98147ced304c39285848cd9f6d.tar.bz2 |
[Ada] Fix restriction No_Enumeration_Maps on both Image attributes
gcc/ada/
* sem_attr.adb (Check_Enum_Image): Reword comment; add
Check_Enumeration_Maps parameter. Now this routine combines
both referencing enumeration literals and checking restriction
No_Enumeration_Maps, if required.
(Analyze_Attribute): Remove duplicated code and instead call
Check_Enum_Image.
Diffstat (limited to 'gcc/ada/init.c')
0 files changed, 0 insertions, 0 deletions