try:\r
if Value.upper().endswith('L'):\r
Value = Value[:-1]\r
+ if Value.startswith('0') and not Value.lower().startswith('0x') and len(Value) > 2:\r
+ Value = Value.lstrip('0')\r
ValueNumber = int (Value, 0)\r
except:\r
EdkLogger.error("build", AUTOGEN_ERROR,\r