diff options
author | Arnaud Charlet <charlet@adacore.com> | 2020-09-30 08:34:57 -0400 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-11-24 05:16:02 -0500 |
commit | 80a09e02289bb693ada2601ea4cc9e0b6df3f375 (patch) | |
tree | dccf608a0fe33ad689ef3afd442af6ad40eb9f34 /gcc/ada/sem_eval.adb | |
parent | dcb1cad0e0747501e9d54eeec6b0481eb87d23c5 (diff) | |
download | gcc-80a09e02289bb693ada2601ea4cc9e0b6df3f375.zip gcc-80a09e02289bb693ada2601ea4cc9e0b6df3f375.tar.gz gcc-80a09e02289bb693ada2601ea4cc9e0b6df3f375.tar.bz2 |
[Ada] AI12-0394 Named Numbers and User-Defined Numeric Literals
gcc/ada/
* sem_ch13.adb (Validate_Literal_Aspect): Add support for named
numbers and in particular overload of the Real_Literal function.
* sem_res.adb (Resolve): Add support for named numbers in
Real_Literal and Integer_Literal resolution.
* einfo.adb, einfo.ads (Related_Expression,
Set_Related_Expression): Allow E_Function.
* uintp.ads (UI_Image_Max): Bump size of buffer to avoid loosing
precision.
* sem_eval.adb: Fix typo in comment.
* libgnat/a-nbnbin.adb, libgnat/a-nbnbin.ads (From_String):
Return a Valid_Big_Integer.
* libgnat/a-nbnbre.adb, libgnat/a-nbnbre.ads (From_String): New
variant taking two strings. Return a Valid_Big_Real.
Diffstat (limited to 'gcc/ada/sem_eval.adb')
-rw-r--r-- | gcc/ada/sem_eval.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/sem_eval.adb b/gcc/ada/sem_eval.adb index 12f2822..a04c5fa 100644 --- a/gcc/ada/sem_eval.adb +++ b/gcc/ada/sem_eval.adb @@ -7318,7 +7318,7 @@ package body Sem_Eval is elsif Ekind (E) = E_Constant then - -- One case we can give a metter message is when we have a + -- One case we can give a better message is when we have a -- string literal created by concatenating an aggregate with -- an others expression. |