aboutsummaryrefslogtreecommitdiff
path: root/libcpp/include
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-08-18 16:13:49 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2011-08-18 16:13:49 +0100
commita48e3dd10e2e898742f2a730b8307b73b1a23022 (patch)
tree08a78c5cfab58cc36bb826b78a1902d8f7e41149 /libcpp/include
parent3b6fa7a5c6e84489d6be9012163c9923cbb9a95c (diff)
downloadgcc-a48e3dd10e2e898742f2a730b8307b73b1a23022.zip
gcc-a48e3dd10e2e898742f2a730b8307b73b1a23022.tar.gz
gcc-a48e3dd10e2e898742f2a730b8307b73b1a23022.tar.bz2
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
Diffstat (limited to 'libcpp/include')
-rw-r--r--libcpp/include/cpplib.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libcpp/include/cpplib.h b/libcpp/include/cpplib.h
index 55b0f1b..30b1e98 100644
--- a/libcpp/include/cpplib.h
+++ b/libcpp/include/cpplib.h
@@ -1,6 +1,6 @@
/* Definitions for CPP library.
Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
- 2004, 2005, 2007, 2008, 2009, 2010
+ 2004, 2005, 2007, 2008, 2009, 2010, 2011
Free Software Foundation, Inc.
Written by Per Bothner, 1994-95.
@@ -315,6 +315,10 @@ struct cpp_options
/* Nonzero means process u/U prefix literals (UTF-16/32). */
unsigned char uliterals;
+ /* Nonzero means process r/R rax strings. If this is set, uliterals
+ must be set as well. */
+ unsigned char rliterals;
+
/* Nonzero means print names of header files (-H). */
unsigned char print_include_names;