}\r
\r
public void readInf(String name) throws Exception {\r
- System.out.println("Parsing INF file: " + name);\r
- BufferedReader rd = new BufferedReader(new FileReader(modulepath + File.separator + name));\r
- String line;\r
+ System.out.println("\nParsing INF file: " + name);\r
String wholeline;\r
- String[] linecontext;\r
- boolean inSrc = false;\r
Matcher mtrinfequation;\r
Matcher mtrsection;\r
Matcher mtrfilename;\r
\r
- wholeline = Common.sourcefiletostring(modulepath + File.separator + name);\r
+ wholeline = Common.file2string(modulepath + File.separator + name);\r
mtrsection = ptnsection.matcher(wholeline);\r
while (mtrsection.find()) {\r
if (mtrsection.group(1).matches("defines")) {\r