mirror of https://github.com/acidanthera/audk.git
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:
parent
16b7eeef54
commit
eff5170cce
|
@ -21,7 +21,7 @@ public class MigrationTool {
|
|||
public static UI ui = null;
|
||||
public static Database db = null;
|
||||
|
||||
public static String MIGRATIONCOMMENT = "//%$//";
|
||||
public static String MIGRATIONCOMMENT = "//%@//";
|
||||
|
||||
public static boolean printModuleInfo = false;
|
||||
public static boolean doCritic = false;
|
||||
|
|
|
@ -104,15 +104,9 @@ public final class SourceFileReplacer implements Common.ForDoAll {
|
|||
mi.hashrequiredr9libs.add("UefiRuntimeServicesTableLib");
|
||||
}
|
||||
}
|
||||
/*
|
||||
// remove EFI_DRIVER_ENTRY_POINT
|
||||
Pattern patentrypoint = Pattern.compile("EFI_DRIVER_ENTRY_POINT[^\\}]*\\}");
|
||||
Matcher matentrypoint = patentrypoint.matcher(line);
|
||||
if (matentrypoint.find()) {
|
||||
MigrationTool.ui.println("Deleting Entry_Point");
|
||||
line = matentrypoint.replaceAll("");
|
||||
}
|
||||
*/
|
||||
wholeline = wholeline.replaceAll("(EFI_\\w+_ENTRY_POINT)", MigrationTool.MIGRATIONCOMMENT + " $1");
|
||||
|
||||
// start replacing names
|
||||
String r8thing;
|
||||
String r9thing;
|
||||
|
|
Loading…
Reference in New Issue