\r
if(Token.PCD_USAGE.UNKNOWN != token.isUsageInstanceExist(moduleName)) {\r
//\r
- // BUGBUG: It should *not* throw exception here. Becaues in MdePkg.fpd, \r
- // more than on BaseLib exist. But why? need confirmation.\r
+ // BUGBUG: It is legal that same base name exist in one FPD file. In furture\r
+ // we should use "Guid, Version, Package" and "Arch" to differ a module.\r
+ // So currently, warning should be disabled.\r
//\r
- //throw new EntityException(\r
- // "In module " + moduleName + " exist more than one PCD token " + token.cName\r
- // );\r
- ActionMessage.warning(this,\r
- "In module " + moduleName + " exist more than one PCD token " + token.cName\r
- );\r
+ //ActionMessage.warning(this,\r
+ // "In module " + moduleName + " exist more than one PCD token " + token.cName\r
+ // );\r
return null;\r
}\r
\r