This commit is contained in:
alfred 2006-08-14 07:03:21 +00:00
parent 88f858a135
commit 03af6beba5
2 changed files with 2 additions and 5 deletions

View File

@ -38,7 +38,6 @@ public class ModuleInfo {
public String entrypoint = null;
public Set<String> localmodulesources = new HashSet<String>(); //contains both .c and .h
public Set<String> localmoduleheaders = new HashSet<String>();
public Set<String> preprocessedccodes = new HashSet<String>();
public Set<String> hashfuncc = new HashSet<String>();
@ -69,8 +68,7 @@ public class ModuleInfo {
if (list[i].contains(".c") || list[i].contains(".C")) {
localmodulesources.add(list[i]);
} else if (list[i].contains(".h") || list[i].contains(".H")) {
localmodulesources.add(list[i]);
localmoduleheaders.add(list[i]); //the case that several .inf or .msa found is not concerned
localmodulesources.add(list[i]); //the case that several .inf or .msa found is not concerned
} else if (list[i].contains(".dxs")) {
localmodulesources.add(list[i]);
} else if (list[i].contains(".uni")) {
@ -161,7 +159,7 @@ public class ModuleInfo {
while ((line = rd.readLine()) != null) {
if (line.contains("#include")) {
mtcinclude = ptninclude.matcher(line);
if (mtcinclude.find() && localmoduleheaders.contains(mtcinclude.group(1))) {
if (mtcinclude.find() && localmodulesources.contains(mtcinclude.group(1))) {
} else {
line = migrationcomment + line;
}

View File

@ -216,7 +216,6 @@ public class SourceFileReplacer {
if (r8only.contains(temp.r8thing)) {
mi.localmodulesources.add("R8Lib.h");
mi.localmodulesources.add("R8Lib.c");
mi.localmoduleheaders.add("R8Lib.h");
filer8only.add(r8thing);
mi.hashr8only.add(r8thing);
addr8 = true;