From 1f0b4e9cb0f608b1420511dfd3c4128c34922ebe Mon Sep 17 00:00:00 2001 From: alfred Date: Fri, 27 Oct 2006 02:04:32 +0000 Subject: [PATCH] fix .s comment git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1848 6f19259b-4bc3-4df7-8a09-765794883524 --- .../MigrationTools/org/tianocore/migration/ModuleReader.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Tools/Java/Source/MigrationTools/org/tianocore/migration/ModuleReader.java b/Tools/Java/Source/MigrationTools/org/tianocore/migration/ModuleReader.java index 0f1df7b593..05620ca5ab 100644 --- a/Tools/Java/Source/MigrationTools/org/tianocore/migration/ModuleReader.java +++ b/Tools/Java/Source/MigrationTools/org/tianocore/migration/ModuleReader.java @@ -329,7 +329,9 @@ public final class ModuleReader implements Common.ForDoAll { //-----------------------------------ForDoAll-----------------------------------// public void run(String filepath) throws Exception { String name = mi.temppath + File.separator + filepath.replace(mi.temppath + File.separator, ""); - commentlaplace.transform(name, name); + if (commentlaplace.recognize(name)) { + commentlaplace.transform(name, name); + } } public boolean filter(File dir) {