Sfoglia il codice sorgente

Fix the range for Malayam UCNs in C99.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200845 91177308-0d34-0410-b5e6-96231b3b80d8
Joey Gouly 11 anni fa
parent
commit
e10417d327
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      lib/Lex/UnicodeCharSets.h
  2. 1 1
      test/Preprocessor/ucn-allowed-chars.c

+ 1 - 1
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 },

+ 1 - 1
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