For VOID* type PCD and in byte array method, treat {0} as NULL value but not {}.
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 11 Jul 2006 02:44:36 +0000 (02:44 +0000)
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 11 Jul 2006 02:44:36 +0000 (02:44 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@868 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Source/GenBuild/org/tianocore/build/pcd/entity/Token.java

index 2a29b0c7f33a489f54c5df396906495a6674dca2..8a492256c4aa8981a2a76e94e03b9f80bde1d9d1 100644 (file)
@@ -750,7 +750,7 @@ public class Token {
                 judgedValue.equalsIgnoreCase("\"\"")   ||\r
                 judgedValue.equalsIgnoreCase("L\"\"")   ||\r
                 (judgedValue.length() == 0)             ||\r
-                judgedValue.equalsIgnoreCase("{}")) {\r
+                judgedValue.equalsIgnoreCase("{0}")) {\r
                 return true;\r
             }\r
         }\r