https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119202

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
            Summary|Typo in message "%<\\o%>    |[15 Regression] Typo in
                   |not followed by %<}%>"      |message "%<\\o%> not
                   |                            |followed by %<}%>" since
                   |                            |r15-4286
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
   Last reconfirmed|                            |2025-03-10
             Status|UNCONFIRMED                 |ASSIGNED
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |15.0

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Caused by my r15-4286 change.
2025-03-10  Jakub Jelinek  <ja...@redhat.com>

        PR preprocessor/119202
        * charset.cc (convert_oct): Fix up typo in diagnostics about \o
        not followed by {.

--- libcpp/charset.cc.jj        2025-01-02 11:47:49.457953685 +0100
+++ libcpp/charset.cc   2025-03-10 22:09:56.180654302 +0100
@@ -2244,7 +2244,7 @@ convert_oct (cpp_reader *pfile, const uc
       from++;
       extend_char_range (&char_range, loc_reader);
       if (from == limit || *from != '{')
-       cpp_error (pfile, CPP_DL_ERROR, "%<\\o%> not followed by %<}%>");
+       cpp_error (pfile, CPP_DL_ERROR, "%<\\o%> not followed by %<{%>");
       else
        {
          from++;
should fix that.

Reply via email to