OSDN Git Service

* cpp.texi: Update for handling of charconsts.
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 May 2001 22:50:28 +0000 (22:50 +0000)
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 May 2001 22:50:28 +0000 (22:50 +0000)
commitf73bab034e2d3896f7c04159fe46dc7088135352
tree6ccc83b80dfb184aeb83b9ad4fb992c103b4b1b0
parent2df5a327e5568e6b4c2912c73b101413ad81d64c
* cpp.texi: Update for handling of charconsts.
* cpplex.c (maybe_read_ucs): Don't accept D800-DFFF.  Update
diagnostics.  Skip to the end if the UCS is too short.
(cpp_interpret_charconst): Long charconsts issue a warning
not an error.

* gcc.dg/cpp/charconst.c: New tests.
* gcc.dg/cpp/escape.c: New tests.
* gcc.dg/cpp/escape-1.c: New tests.
* gcc.dg/cpp/escape-2.c: New tests.
* gcc.dg/cpp/ucs.c: New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42514 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cpp.texi
gcc/cpplex.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/charconst.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/escape-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/escape-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/escape.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/ucs.c [new file with mode: 0644]