Fix track EDKT97: Use {0} as NULL value for VOID* type PCD but not {}

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1077 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2 2006-07-23 17:26:27 +00:00
parent 9a557fb6c7
commit 6ab88a7c86
1 changed files with 6 additions and 1 deletions

View File

@ -2579,7 +2579,12 @@ public class CollectPCDAction {
strValue = datum.substring(start + 1, end);
strValue = strValue.trim();
if (strValue.length() == 0) {
break;
exceptionString = String.format ("[FPD file error] The datum type of PCD %s in %s is VOID*, and "+
"it is byte array in fact, but '{}' is not valid for NULL datam but"+
" need use '{0}'",
cName,
moduleName);
return exceptionString;
}
strValueArray = strValue.split(",");
for (index = 0; index < strValueArray.length; index ++) {