summaryrefslogtreecommitdiff
path: root/Tools/Java/Source/MigrationTools
diff options
context:
space:
mode:
authoralfred <alfred@6f19259b-4bc3-4df7-8a09-765794883524>2006-10-27 02:04:32 +0000
committeralfred <alfred@6f19259b-4bc3-4df7-8a09-765794883524>2006-10-27 02:04:32 +0000
commit1f0b4e9cb0f608b1420511dfd3c4128c34922ebe (patch)
tree8ce4a810babefb35ccb1f05f281efef4a5f32176 /Tools/Java/Source/MigrationTools
parentfec763384826dd661c776bb6260ab2a8eda9bafa (diff)
downloadedk2-1f0b4e9cb0f608b1420511dfd3c4128c34922ebe.zip
edk2-1f0b4e9cb0f608b1420511dfd3c4128c34922ebe.tar.gz
edk2-1f0b4e9cb0f608b1420511dfd3c4128c34922ebe.tar.bz2
fix .s comment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1848 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Java/Source/MigrationTools')
-rw-r--r--Tools/Java/Source/MigrationTools/org/tianocore/migration/ModuleReader.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/Tools/Java/Source/MigrationTools/org/tianocore/migration/ModuleReader.java b/Tools/Java/Source/MigrationTools/org/tianocore/migration/ModuleReader.java
index 0f1df7b..05620ca 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) {