diff options
author | Joey Gouly <joey.gouly@gmail.com> | 2014-02-05 15:32:23 +0000 |
---|---|---|
committer | Joey Gouly <joey.gouly@gmail.com> | 2014-02-05 15:32:23 +0000 |
commit | 18730ba4ab64eaa17fb6a1c73352d3d9525c44d8 (patch) | |
tree | 233927e8ba33e0226d570546272d76ae1511ae9a /clang | |
parent | 9ebd4830178603e463155057329ce5cac64da1ee (diff) | |
download | bcm5719-llvm-18730ba4ab64eaa17fb6a1c73352d3d9525c44d8.tar.gz bcm5719-llvm-18730ba4ab64eaa17fb6a1c73352d3d9525c44d8.zip |
Fix the range for Malayam UCNs in C99.
llvm-svn: 200845
Diffstat (limited to 'clang')
-rw-r--r-- | clang/lib/Lex/UnicodeCharSets.h | 2 | ||||
-rw-r--r-- | clang/test/Preprocessor/ucn-allowed-chars.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Lex/UnicodeCharSets.h b/clang/lib/Lex/UnicodeCharSets.h index 01ae7e839df..12b24564bfd 100644 --- a/clang/lib/Lex/UnicodeCharSets.h +++ b/clang/lib/Lex/UnicodeCharSets.h @@ -298,7 +298,7 @@ static const llvm::sys::UnicodeCharRange C99AllowedIDCharRanges[] = { // Malayam { 0x0D02, 0x0D03 }, { 0x0D05, 0x0D0C }, { 0x0D0E, 0x0D10 }, { 0x0D12, 0x0D28 }, { 0x0D2A, 0x0D39 }, { 0x0D3E, 0x0D43 }, - { 0x0D46, 0x0D48 }, { 0x0D4A, 0x0D4D }, { 0x0D60, 0x0D60 }, + { 0x0D46, 0x0D48 }, { 0x0D4A, 0x0D4D }, { 0x0D60, 0x0D61 }, // Digits (11) { 0x0D66, 0x0D6F }, diff --git a/clang/test/Preprocessor/ucn-allowed-chars.c b/clang/test/Preprocessor/ucn-allowed-chars.c index d49aa9cbb46..d7d67fe0d60 100644 --- a/clang/test/Preprocessor/ucn-allowed-chars.c +++ b/clang/test/Preprocessor/ucn-allowed-chars.c @@ -17,7 +17,7 @@ extern char a\uFFFF; // none // Identifier initial characters extern char \u0E50; // C++03, C11, C++11 extern char \u0300; // disallowed initially in C11/C++11, always in C99/C++03 - +extern char \u0D61; // C99, C11, C++03, C++11 |