add commentout entrypoint

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1465 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
alfred 2006-09-05 08:59:44 +00:00
parent 16b7eeef54
commit eff5170cce
2 changed files with 3 additions and 9 deletions

View File

@ -21,7 +21,7 @@ public class MigrationTool {
public static UI ui = null; public static UI ui = null;
public static Database db = null; public static Database db = null;
public static String MIGRATIONCOMMENT = "//%$//"; public static String MIGRATIONCOMMENT = "//%@//";
public static boolean printModuleInfo = false; public static boolean printModuleInfo = false;
public static boolean doCritic = false; public static boolean doCritic = false;

View File

@ -104,15 +104,9 @@ public final class SourceFileReplacer implements Common.ForDoAll {
mi.hashrequiredr9libs.add("UefiRuntimeServicesTableLib"); mi.hashrequiredr9libs.add("UefiRuntimeServicesTableLib");
} }
} }
/*
// remove EFI_DRIVER_ENTRY_POINT // remove EFI_DRIVER_ENTRY_POINT
Pattern patentrypoint = Pattern.compile("EFI_DRIVER_ENTRY_POINT[^\\}]*\\}"); wholeline = wholeline.replaceAll("(EFI_\\w+_ENTRY_POINT)", MigrationTool.MIGRATIONCOMMENT + " $1");
Matcher matentrypoint = patentrypoint.matcher(line);
if (matentrypoint.find()) {
MigrationTool.ui.println("Deleting Entry_Point");
line = matentrypoint.replaceAll("");
}
*/
// start replacing names // start replacing names
String r8thing; String r8thing;
String r9thing; String r9thing;