]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
c1x-uni-string-1.c, [...]: New tests.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 18 Aug 2011 15:13:49 +0000 (16:13 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Thu, 18 Aug 2011 15:13:49 +0000 (16:13 +0100)
commita48e3dd10e2e898742f2a730b8307b73b1a23022
tree08a78c5cfab58cc36bb826b78a1902d8f7e41149
parent3b6fa7a5c6e84489d6be9012163c9923cbb9a95c
c1x-uni-string-1.c, [...]: New tests.

gcc/testsuite:
* gcc.dg/c1x-uni-string-1.c, gcc.dg/c1x-uni-string-2.c: New tests.

libcpp:
* include/cpplib.h (struct cpp_options): Add rliterals.
* init.c  (struct lang_flags, lang_defaults): Add rliterals.
(cpp_set_lang): Set rliterals option.
(cpp_init_builtins): Define __STDC_UTF_16__ and __STDC_UTF_32__.
* lex.c (_cpp_lex_direct): Only accept raw strings if rliterals.

From-SVN: r177868
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/c1x-uni-string-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/c1x-uni-string-2.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/include/cpplib.h
libcpp/init.c
libcpp/lex.c