diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2024-02-16 16:57:10 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-05-16 10:49:25 +0200 |
commit | 3549a58fa544fe933eca207a9f2442489310aa4c (patch) | |
tree | dae62ccd1065026baffce85feada5bde21ab621e /gcc | |
parent | fd3a9ee2b9d622b8482bbb1167dd0e2244d940e9 (diff) | |
download | gcc-3549a58fa544fe933eca207a9f2442489310aa4c.zip gcc-3549a58fa544fe933eca207a9f2442489310aa4c.tar.gz gcc-3549a58fa544fe933eca207a9f2442489310aa4c.tar.bz2 |
ada: Fix casing in error messages
Error messages should not start with a capital letter.
gcc/ada/
* gnat_cuda.adb (Remove_CUDA_Device_Entities): Fix casing
(this primarily fixes a style, because the capitalization will
not be preserved by the error-reporting machinery anyway).
* sem_ch13.adb (Analyze_User_Aspect_Aspect_Specification): Fix
casing in error message.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/gnat_cuda.adb | 2 | ||||
-rw-r--r-- | gcc/ada/sem_ch13.adb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/gnat_cuda.adb b/gcc/ada/gnat_cuda.adb index af47b72..92576a4 100644 --- a/gcc/ada/gnat_cuda.adb +++ b/gcc/ada/gnat_cuda.adb @@ -270,7 +270,7 @@ package body GNAT_CUDA is and then Present (Corresponding_Stub (Parent (Bod))) then Error_Msg_N - ("Cuda_Device not suported on separate subprograms", + ("CUDA_Device not suported on separate subprograms", Corresponding_Stub (Parent (Bod))); else Remove (Bod); diff --git a/gcc/ada/sem_ch13.adb b/gcc/ada/sem_ch13.adb index eee2aa0..8bc8e84 100644 --- a/gcc/ada/sem_ch13.adb +++ b/gcc/ada/sem_ch13.adb @@ -8754,7 +8754,7 @@ package body Sem_Ch13 is Arg : Node_Id; begin if No (UAD_Pragma) then - Error_Msg_N ("No definition for user-defined aspect", Id); + Error_Msg_N ("no definition for user-defined aspect", Id); return; end if; |