[Ada] Refactor duplicated code for Compose, Leading_Part and Scaling
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 23 Nov 2020 14:39:32 +0000 (15:39 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 15 Dec 2020 11:41:49 +0000 (06:41 -0500)
commita8ecf5ec3288acf2c6578de794050764189bf12d
tree54a8ab2c2ab8ce16bd63cbb145019b3f6c55e42a
parent69bd5d473d22157d0737fc20e98eb3347cbd6ab5
[Ada] Refactor duplicated code for Compose, Leading_Part and Scaling

gcc/ada/

* sem_attr.adb (Analyze_Attribute): Merge identical code for
Compose, Leading_Part and Scaling attributes.
gcc/ada/sem_attr.adb