diff options
author | Jordan Rose <jordan_rose@apple.com> | 2013-01-24 20:50:13 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2013-01-24 20:50:13 +0000 |
commit | 5209e2bc4d18e679dcacfd6f6a0120aa1d4a757f (patch) | |
tree | 209fee50bec30789132b2ec81342019ad157418b /include/clang | |
parent | 8b3326527eb83fbab624a7173acd0d6813dc5845 (diff) |
Unify diagnostics for \x, \u, and \U without any following hex digits.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173368 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang')
-rw-r--r-- | include/clang/Basic/DiagnosticLexKinds.td | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/clang/Basic/DiagnosticLexKinds.td b/include/clang/Basic/DiagnosticLexKinds.td index 90012faf5f..c8b44230c9 100644 --- a/include/clang/Basic/DiagnosticLexKinds.td +++ b/include/clang/Basic/DiagnosticLexKinds.td @@ -99,8 +99,7 @@ def ext_four_char_character_literal : Extension< def ext_nonstandard_escape : Extension< "use of non-standard escape character '\\%0'">; def ext_unknown_escape : ExtWarn<"unknown escape sequence '\\%0'">; -def err_hex_escape_no_digits : Error<"\\x used with no following hex digits">; -def err_ucn_escape_no_digits : Error<"\\u used with no following hex digits">; +def err_hex_escape_no_digits : Error<"\\%0 used with no following hex digits">; def err_ucn_escape_invalid : Error<"invalid universal character">; def err_ucn_escape_incomplete : Error<"incomplete universal character name">; def err_ucn_escape_basic_scs : Error< |