]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Common/Expression.py
BaseTools: resolve initialization order errors in VfrFormPkg.h
[mirror_edk2.git] / BaseTools / Source / Python / Common / Expression.py
index 953a412e806ee29f1be6c84d5d28f08c6b0a2c89..55fa06d414ea1029293ee1c92bc2ceb314e4d26f 100644 (file)
@@ -164,7 +164,7 @@ class ValueExpression(object):
                 else:\r
                     Oprand1,Size = ParseFieldValue('"' + Oprand1 + '"')\r
             if type(Oprand2) == type(''):\r
-                if Oprand2[0] in ['"', "'", 'L'] or Oprand2.startswith('UINT'):\r
+                if Oprand2[0] in ['"', "'"] or Oprand2.startswith('L"') or Oprand2.startswith("L'") or Oprand2.startswith('UINT'):\r
                     Oprand2, Size = ParseFieldValue(Oprand2)\r
                 else:\r
                     Oprand2, Size = ParseFieldValue('"' + Oprand2 + '"')\r