diff options
Diffstat (limited to 'libcpp/lex.c')
-rw-r--r-- | libcpp/lex.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libcpp/lex.c b/libcpp/lex.c index 3618fa5..8e3ef09 100644 --- a/libcpp/lex.c +++ b/libcpp/lex.c @@ -1306,6 +1306,9 @@ warn_about_normalization (cpp_reader *pfile, if (NORMALIZE_STATE_RESULT (s) == normalized_C) cpp_warning_with_line (pfile, CPP_W_NORMALIZE, token->src_loc, 0, "`%.*s' is not in NFKC", (int) sz, buf); + else if (CPP_OPTION (pfile, cxx23_identifiers)) + cpp_pedwarning_with_line (pfile, CPP_W_NORMALIZE, token->src_loc, 0, + "`%.*s' is not in NFC", (int) sz, buf); else cpp_warning_with_line (pfile, CPP_W_NORMALIZE, token->src_loc, 0, "`%.*s' is not in NFC", (int) sz, buf); |