r200845 - Fix the range for Malayam UCNs in C99.

Joey Gouly joey.gouly at gmail.com
Wed Feb 5 07:32:24 PST 2014


Author: joey
Date: Wed Feb  5 09:32:23 2014
New Revision: 200845

URL: http://llvm.org/viewvc/llvm-project?rev=200845&view=rev
Log:
Fix the range for Malayam UCNs in C99.

Modified:
    cfe/trunk/lib/Lex/UnicodeCharSets.h
    cfe/trunk/test/Preprocessor/ucn-allowed-chars.c

Modified: cfe/trunk/lib/Lex/UnicodeCharSets.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/UnicodeCharSets.h?rev=200845&r1=200844&r2=200845&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/UnicodeCharSets.h (original)
+++ cfe/trunk/lib/Lex/UnicodeCharSets.h Wed Feb  5 09:32:23 2014
@@ -298,7 +298,7 @@ static const llvm::sys::UnicodeCharRange
   // 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 },

Modified: cfe/trunk/test/Preprocessor/ucn-allowed-chars.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/ucn-allowed-chars.c?rev=200845&r1=200844&r2=200845&view=diff
==============================================================================
--- cfe/trunk/test/Preprocessor/ucn-allowed-chars.c (original)
+++ cfe/trunk/test/Preprocessor/ucn-allowed-chars.c Wed Feb  5 09:32:23 2014
@@ -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
 
 
 





More information about the cfe-commits mailing list