]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/AutoGen/UniClassObject.py
Sync BaseTool trunk (version r2423) into EDKII BaseTools. The change mainly includes:
[mirror_edk2.git] / BaseTools / Source / Python / AutoGen / UniClassObject.py
index 54751bab4e1111511c3f9700d797148e95934d7a..ea27607fce6dbb668a37881748b972b13fec4351 100644 (file)
@@ -260,7 +260,7 @@ class UniFileClassObject(object):
 \r
         Name = Item.split()[1]\r
         # Check the string name is the upper character\r
-        if not self.IsCompatibleMode and Name != '':\r
+        if Name != '':\r
             MatchString = re.match('[A-Z0-9_]+', Name, re.UNICODE)\r
             if MatchString == None or MatchString.end(0) != len(Name):\r
                 EdkLogger.error('Unicode File Parser', FORMAT_INVALID, 'The string token name %s defined in UNI file %s contains the invalid lower case character.' %(Name, self.File))\r