public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-2065] [Ada] Missing space in error message for pattern matching
@ 2021-07-06 14:49 Pierre-Marie de Rodat
0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-07-06 14:49 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:cb338455b39c13cc2385b653dc9bb89edca24b62
commit r12-2065-gcb338455b39c13cc2385b653dc9bb89edca24b62
Author: Yannick Moy <moy@adacore.com>
Date: Mon May 10 14:36:25 2021 +0200
[Ada] Missing space in error message for pattern matching
gcc/ada/
* sem_case.adb: Fix error message.
Diff:
---
gcc/ada/sem_case.adb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/ada/sem_case.adb b/gcc/ada/sem_case.adb
index 36db9a7162d..9ff256451fa 100644
--- a/gcc/ada/sem_case.adb
+++ b/gcc/ada/sem_case.adb
@@ -2908,7 +2908,7 @@ package body Sem_Case is
begin
if Has_Predicates (Subtyp) then
Error_Msg_N
- ("subtype of case selector (or subcomponent thereof)" &
+ ("subtype of case selector (or subcomponent thereof) " &
"has predicate", N);
elsif Is_Discrete_Type (Subtyp) then
if not Is_Static_Subtype (Subtyp) then
@@ -2938,7 +2938,7 @@ package body Sem_Case is
elsif Is_Record_Type (Subtyp) then
if Has_Discriminants (Subtyp) then
Error_Msg_N
- ("type of case selector (or subcomponent thereof)" &
+ ("type of case selector (or subcomponent thereof) " &
"is discriminated", N);
else
declare
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-06 14:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-06 14:49 [gcc r12-2065] [Ada] Missing space in error message for pattern matching Pierre-Marie de Rodat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).