aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/exp_ch4.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@adacore.com>2020-03-03 11:51:49 -0500
committerPierre-Marie de Rodat <derodat@adacore.com>2020-06-09 04:09:06 -0400
commit2d6f6e08e69209d3df5b49b738c08ce3e921bf44 (patch)
tree455481c607c45040361d76c6139535fc05360d7e /gcc/ada/exp_ch4.adb
parent3e6711046ae71601a40636e768c8d9d7def57add (diff)
downloadgcc-2d6f6e08e69209d3df5b49b738c08ce3e921bf44.zip
gcc-2d6f6e08e69209d3df5b49b738c08ce3e921bf44.tar.gz
gcc-2d6f6e08e69209d3df5b49b738c08ce3e921bf44.tar.bz2
[Ada] Code clean ups and comments updates
2020-06-09 Arnaud Charlet <charlet@adacore.com> gcc/ada/ * exp_ch3.adb, exp_ch4.adb, exp_ch6.adb, exp_ch9.adb, exp_disp.adb, exp_util.adb: Add comments related to errors that should be moved to semantic analysis. Also replace "?" with "??" in warning messages.
Diffstat (limited to 'gcc/ada/exp_ch4.adb')
-rw-r--r--gcc/ada/exp_ch4.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/exp_ch4.adb b/gcc/ada/exp_ch4.adb
index d9a96a5..bd8360f 100644
--- a/gcc/ada/exp_ch4.adb
+++ b/gcc/ada/exp_ch4.adb
@@ -4486,7 +4486,7 @@ package body Exp_Ch4 is
and then Nkind (Associated_Node_For_Itype (PtrT)) =
N_Object_Declaration)
then
- Error_Msg_N ("?use of an anonymous access type allocator", N);
+ Error_Msg_N ("??use of an anonymous access type allocator", N);
end if;
-- RM E.2.2(17). We enforce that the expected type of an allocator