mirror_edk2/BaseTools/Source/Python/AutoGen
Feng, YunhuaX ea927d2f3f BaseTools: Fix flexible PCD single quote and double quote bugs
1.The " and ' inside the string, must use escape character format
  (\", \')
2.'string' and L'string' format in --pcd, it must be double quoted
  first.

  Some examples that to match --pcd format and DSC format
  --pcd                             DSC format
  L"ABC"                            L"ABC"
  "AB\\\"C"                         "AB\"C"
  "AB\\\'C"                         "AB\'C"
  L"\'AB\\\"C\'"                    L'AB\"C'
  "\'AB\\\'C\'"                     'AB\'C'
  H"{0, L\"AB\\\"B\", \'ab\\\"c\'}" {0, L"AB\"B", 'ab\"c'}

Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
2018-02-28 08:47:11 +08:00
..
__init__.py Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00:00
AutoGen.py BaseTools:Override the MAKE_FLAGS by BuildOptions in DSC 2018-02-27 15:41:02 +08:00
BuildEngine.py BaseTools: Clean some coding style issues 2015-12-01 04:22:16 +00:00
GenC.py BaseTools: Support PCD flexible values format 2017-12-27 14:43:27 +08:00
GenDepex.py BaseTools/AutoGen: auto generate MM template APIs and dependencies. 2017-07-07 10:49:13 +08:00
GenMake.py BaseTools: Fix flexible PCD single quote and double quote bugs 2018-02-28 08:47:11 +08:00
GenPcdDb.py BaseTools: Fixed build failure for the PCD value initialization. 2018-01-25 18:08:04 +08:00
GenVar.py BaseTool: Fixed Pcd issues. 2018-02-08 11:09:42 +08:00
IdfClassObject.py BaseTools: add error check for "#image" for idf file format 2016-12-02 11:00:43 +08:00
InfSectionParser.py BaseTools: Copy "TianoCore" userextensions into As Built Inf 2017-06-24 23:00:08 +08:00
StrGather.py BaseTools: support generating image package from BMP/JPEG/PNG files 2016-09-27 09:43:28 +08:00
UniClassObject.py BaseTools: Allow string token identifier to use lower case letters 2016-08-08 10:52:31 +08:00
ValidCheckingInfoObject.py BaseTools: Fix build fail when the number in validlist is long type. 2015-08-21 01:09:16 +00:00