diff options
author | Feng, YunhuaX </o=Intel/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=Feng, YunhuaX4e1> | 2018-02-02 17:01:52 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-02-04 11:19:39 +0800 |
commit | 0e6b86731e5792a2fe89b595268a817f0cd989cc (patch) | |
tree | ff0cc81999b962190fd2d92d599d78f34fbe6e2f /NetworkPkg | |
parent | bee0f2f167e6e982e665c851d605cd50e7748e08 (diff) | |
download | edk2-0e6b86731e5792a2fe89b595268a817f0cd989cc.tar.gz edk2-0e6b86731e5792a2fe89b595268a817f0cd989cc.tar.bz2 edk2-0e6b86731e5792a2fe89b595268a817f0cd989cc.zip |
BaseTools: Update Expression.py for VOID* to support L'a' and 'a'
Original VOID* type support L"string" and "string" format, now we also
add support for single quote string that without null terminator.
Type VOID* support L'a' and 'a', the value transfer to c style value.
L'a' --> {0x61, 0x00}
L'ab' --> {0x61, 0x00, 0x62, 0x00}
'a' --> {0x61}
'ab' --> {0x61, 0x62}
when the value is L'' or '' that not include any character, tool will
report error.
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>
Diffstat (limited to 'NetworkPkg')
0 files changed, 0 insertions, 0 deletions