diff options
Diffstat (limited to 'libcpp/include/cpplib.h')
| -rw-r--r-- | libcpp/include/cpplib.h | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/libcpp/include/cpplib.h b/libcpp/include/cpplib.h index 1b1a53c..5eaea6b 100644 --- a/libcpp/include/cpplib.h +++ b/libcpp/include/cpplib.h @@ -119,6 +119,7 @@ struct _cpp_file;    TK(WCHAR,		LITERAL) /* L'char' */				\    TK(CHAR16,		LITERAL) /* u'char' */				\    TK(CHAR32,		LITERAL) /* U'char' */				\ +  TK(UTF8CHAR,		LITERAL) /* u8'char' */				\    TK(OTHER,		LITERAL) /* stray punctuation */		\  									\    TK(STRING,		LITERAL) /* "string" */				\ @@ -133,6 +134,7 @@ struct _cpp_file;    TK(WCHAR_USERDEF,	LITERAL) /* L'char'_suffix - C++-0x */		\    TK(CHAR16_USERDEF,	LITERAL) /* u'char'_suffix - C++-0x */		\    TK(CHAR32_USERDEF,	LITERAL) /* U'char'_suffix - C++-0x */		\ +  TK(UTF8CHAR_USERDEF,	LITERAL) /* u8'char'_suffix - C++-0x */		\    TK(STRING_USERDEF,	LITERAL) /* "string"_suffix - C++-0x */		\    TK(WSTRING_USERDEF,	LITERAL) /* L"string"_suffix - C++-0x */	\    TK(STRING16_USERDEF,	LITERAL) /* u"string"_suffix - C++-0x */	\ @@ -339,6 +341,9 @@ struct cpp_options    /* Nonzero means process u/U prefix literals (UTF-16/32).  */    unsigned char uliterals; +  /* Nonzero means process u8 prefixed character literals (UTF-8).  */ +  unsigned char utf8_char_literals; +    /* Nonzero means process r/R raw strings.  If this is set, uliterals       must be set as well.  */    unsigned char rliterals;  | 
