public String entrypoint = null;\r
\r
public Set<String> localmodulesources = new HashSet<String>(); //contains both .c and .h\r
- public Set<String> localmoduleheaders = new HashSet<String>();\r
public Set<String> preprocessedccodes = new HashSet<String>();\r
\r
public Set<String> hashfuncc = new HashSet<String>();\r
if (list[i].contains(".c") || list[i].contains(".C")) {\r
localmodulesources.add(list[i]);\r
} else if (list[i].contains(".h") || list[i].contains(".H")) {\r
- localmodulesources.add(list[i]);\r
- localmoduleheaders.add(list[i]); //the case that several .inf or .msa found is not concerned\r
+ localmodulesources.add(list[i]); //the case that several .inf or .msa found is not concerned\r
} else if (list[i].contains(".dxs")) {\r
localmodulesources.add(list[i]);\r
} else if (list[i].contains(".uni")) {\r
while ((line = rd.readLine()) != null) {\r
if (line.contains("#include")) {\r
mtcinclude = ptninclude.matcher(line);\r
- if (mtcinclude.find() && localmoduleheaders.contains(mtcinclude.group(1))) {\r
+ if (mtcinclude.find() && localmodulesources.contains(mtcinclude.group(1))) {\r
} else {\r
line = migrationcomment + line;\r
}\r
if (r8only.contains(temp.r8thing)) {\r
mi.localmodulesources.add("R8Lib.h");\r
mi.localmodulesources.add("R8Lib.c");\r
- mi.localmoduleheaders.add("R8Lib.h");\r
filer8only.add(r8thing);\r
mi.hashr8only.add(r8thing);\r
addr8 = true;\r