https://gcc.gnu.org/g:f709990333597b30dff54876bfdaada14e9cde30

commit r15-4199-gf709990333597b30dff54876bfdaada14e9cde30
Author: Ken Matsui <kmat...@gcc.gnu.org>
Date:   Wed Oct 9 07:32:20 2024 -0400

    libcpp: Use ' instead of %< and %> [PR117039]
    
            PR bootstrap/117039
    
    libcpp/ChangeLog:
    
            * directives.cc (do_pragma_once): Use ' instead of %< and %>.
    
    Signed-off-by: Ken Matsui <kmat...@gcc.gnu.org>

Diff:
---
 libcpp/directives.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libcpp/directives.cc b/libcpp/directives.cc
index 95095b08eafe..9c906b390660 100644
--- a/libcpp/directives.cc
+++ b/libcpp/directives.cc
@@ -2075,7 +2075,7 @@ do_pragma_once (cpp_reader *pfile)
 {
   if (_cpp_in_main_source_file (pfile))
     cpp_warning (pfile, CPP_W_PRAGMA_ONCE_OUTSIDE_HEADER,
-                "%<#pragma once%> in main file");
+                "'#pragma once' in main file");
 
   check_eol (pfile, false);
   _cpp_mark_file_once_only (pfile, pfile->buffer->file);

Reply via email to