aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorKen Matsui <kmatsui@gcc.gnu.org>2024-10-09 07:32:20 -0400
committerKen Matsui <kmatsui@gcc.gnu.org>2024-10-09 07:33:53 -0400
commitf709990333597b30dff54876bfdaada14e9cde30 (patch)
tree9ff5f500e9d0d5d04182a5c863210c5a8063cd5c /libcpp
parent68afc7acf609be2b19ec05c8393c2ffc7f4adb4a (diff)
downloadgcc-f709990333597b30dff54876bfdaada14e9cde30.zip
gcc-f709990333597b30dff54876bfdaada14e9cde30.tar.gz
gcc-f709990333597b30dff54876bfdaada14e9cde30.tar.bz2
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 <kmatsui@gcc.gnu.org>
Diffstat (limited to 'libcpp')
-rw-r--r--libcpp/directives.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpp/directives.cc b/libcpp/directives.cc
index 95095b0..9c906b3 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);