]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libcpp: Use ' instead of %< and %> [PR117039]
authorKen Matsui <kmatsui@gcc.gnu.org>
Wed, 9 Oct 2024 11:32:20 +0000 (07:32 -0400)
committerKen Matsui <kmatsui@gcc.gnu.org>
Wed, 9 Oct 2024 11:33:53 +0000 (07:33 -0400)
PR bootstrap/117039

libcpp/ChangeLog:

* directives.cc (do_pragma_once): Use ' instead of %< and %>.

Signed-off-by: Ken Matsui <kmatsui@gcc.gnu.org>
libcpp/directives.cc

index 95095b08eafede126c6948934ef1edb287237cac..9c906b39066056fc03cf7bcd9771cfe1d7e6b1e7 100644 (file)
@@ -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);