mirror_edk2/BaseTools/Source/Python/Workspace
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
BuildClassObject.py BaseTool: Fixed Pcd issues. 2018-02-08 11:09:42 +08:00
DecBuildData.py BaseTool: Fixed Pcd issues. 2018-02-08 11:09:42 +08:00
DscBuildData.py BaseTools: Fix flexible PCD single quote and double quote bugs 2018-02-28 08:47:11 +08:00
InfBuildData.py BaseTools: Support PCD flexible values format 2017-12-27 14:43:27 +08:00
MetaDataTable.py There is a limitation on WINDOWS OS for the length of entire file path can’t be larger than 255. There is an OS API provided by Microsoft to add “\\?\” before the path header to support the long file path. Enable this feature on basetools. 2014-08-15 03:06:48 +00:00
MetaFileCommentParser.py License header updated to match correct format. 2014-08-28 13:53:34 +00:00
MetaFileParser.py BaseTools: Update Expression.py for string comparison and MACRO replace issue 2018-02-09 08:34:36 +08:00
MetaFileTable.py BaseTools: Support Structure PCD value inherit between the different SKUs 2017-12-25 11:05:47 +08:00
WorkspaceCommon.py BaseTools: Support PCD flexible values format 2017-12-27 14:43:27 +08:00
WorkspaceDatabase.py BaseTools: Support Structure PCD value assignment in DEC/DSC 2017-12-25 11:05:45 +08:00