diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2019-09-26 21:43:51 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2019-09-26 21:43:51 +0000 |
commit | 0900e29cdbc533fecf2a311447bbde17f101bbd6 (patch) | |
tree | 99d96116ec1656e4b86de00444ee3569f3d46ba7 /libcpp/ChangeLog | |
parent | d7326aaf20871a81feb39673d78922c1bc83efec (diff) | |
download | gcc-0900e29cdbc533fecf2a311447bbde17f101bbd6.zip gcc-0900e29cdbc533fecf2a311447bbde17f101bbd6.tar.gz gcc-0900e29cdbc533fecf2a311447bbde17f101bbd6.tar.bz2 |
charset.c (UCS_LIMIT): New macro.
* charset.c (UCS_LIMIT): New macro.
(ucn_valid_in_identifier): Use it instead of a hardcoded constant.
(_cpp_valid_ucn): Issue a pedantic warning for UCNs larger than
UCS_LIMIT outside of identifiers in C and in C++2a or later.
From-SVN: r276167
Diffstat (limited to 'libcpp/ChangeLog')
-rw-r--r-- | libcpp/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 0c85195..1ca622d 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,10 @@ +2019-09-26 Eric Botcazou <ebotcazou@adacore.com> + + * charset.c (UCS_LIMIT): New macro. + (ucn_valid_in_identifier): Use it instead of a hardcoded constant. + (_cpp_valid_ucn): Issue a pedantic warning for UCNs larger than + UCS_LIMIT outside of identifiers in C and in C++2a or later. + 2019-09-19 Lewis Hyatt <lhyatt@gmail.com> PR c/67224 |