aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2023-07-20 00:17:53 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2023-07-20 00:17:53 +0000
commit49bed11d96cf727de7e6ed35f065a4df29f6c589 (patch)
treee4f1d9105f7f4158d28914b1de2a224c6633464c /libcpp
parent0867d30a68de68f4c809757348447bef94ef1491 (diff)
downloadgcc-49bed11d96cf727de7e6ed35f065a4df29f6c589.zip
gcc-49bed11d96cf727de7e6ed35f065a4df29f6c589.tar.gz
gcc-49bed11d96cf727de7e6ed35f065a4df29f6c589.tar.bz2
Daily bump.
Diffstat (limited to 'libcpp')
-rw-r--r--libcpp/ChangeLog21
1 files changed, 21 insertions, 0 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 52c7523..3fb8a43 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,24 @@
+2023-07-19 Lewis Hyatt <lhyatt@gmail.com>
+
+ PR preprocessor/103902
+ * lex.cc (identifier_diagnostics_on_lex): New function refactoring
+ some common code.
+ (lex_identifier_intern): Use the new function.
+ (lex_identifier): Don't run identifier diagnostics here, rather let
+ the call site do it when needed.
+ (_cpp_lex_direct): Adjust the call sites of lex_identifier ()
+ acccordingly.
+ (struct scan_id_result): New struct.
+ (scan_cur_identifier): New function.
+ (create_literal2): New function.
+ (lit_accum::create_literal2): New function.
+ (is_macro): Folded into new function...
+ (maybe_ignore_udl_macro_suffix): ...here.
+ (is_macro_not_literal_suffix): Folded likewise.
+ (lex_raw_string): Handle UTF-8 in UDL suffix via
+ scan_cur_identifier ().
+ (lex_string): Likewise.
+
2023-07-06 Thomas Schwinge <thomas@codesourcery.com>
* include/symtab.h (struct ht_identifier): Document different