diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-07-11 02:44:36 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-07-11 02:44:36 +0000 |
commit | ddb87685e2d355e5a2ec8d67ee104f1dd8ad7cad (patch) | |
tree | 8346bcda456369f52d49ef4cde36eacd12c1945f | |
parent | 9ffc622e792f7f6fe846bd22b6ed9cf087e8f9fa (diff) | |
download | edk2-platforms-ddb87685e2d355e5a2ec8d67ee104f1dd8ad7cad.tar.xz |
For VOID* type PCD and in byte array method, treat {0} as NULL value but not {}.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@868 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | Tools/Source/GenBuild/org/tianocore/build/pcd/entity/Token.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/Source/GenBuild/org/tianocore/build/pcd/entity/Token.java b/Tools/Source/GenBuild/org/tianocore/build/pcd/entity/Token.java index 2a29b0c7f3..8a492256c4 100644 --- a/Tools/Source/GenBuild/org/tianocore/build/pcd/entity/Token.java +++ b/Tools/Source/GenBuild/org/tianocore/build/pcd/entity/Token.java @@ -750,7 +750,7 @@ public class Token { judgedValue.equalsIgnoreCase("\"\"") ||
judgedValue.equalsIgnoreCase("L\"\"") ||
(judgedValue.length() == 0) ||
- judgedValue.equalsIgnoreCase("{}")) {
+ judgedValue.equalsIgnoreCase("{0}")) {
return true;
}
}
|