fix .s comment
authoralfred <alfred@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 27 Oct 2006 02:04:32 +0000 (02:04 +0000)
committeralfred <alfred@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 27 Oct 2006 02:04:32 +0000 (02:04 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1848 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Java/Source/MigrationTools/org/tianocore/migration/ModuleReader.java

index 0f1df7b59343187de77f4dbd95a1f0fa066638e7..05620ca5ab33bbd088caf655be927c491bab1ec2 100644 (file)
@@ -329,7 +329,9 @@ public final class ModuleReader implements Common.ForDoAll {
     //-----------------------------------ForDoAll-----------------------------------//\r
     public void run(String filepath) throws Exception {\r
         String name = mi.temppath + File.separator + filepath.replace(mi.temppath + File.separator, "");\r
-        commentlaplace.transform(name, name);\r
+        if (commentlaplace.recognize(name)) {\r
+            commentlaplace.transform(name, name);\r
+        }\r
     }\r
 \r
     public boolean filter(File dir) {\r