Commit c4125ece by Melvin Klimke Committed by Enkelmann

Changed .cspec match, so that the "id" attribute is matched instead of the "name" attribute (#92)

parent 734e5f75
...@@ -216,7 +216,7 @@ public class ParseCspecContent { ...@@ -216,7 +216,7 @@ public class ParseCspecContent {
while(parser.peek().isStart()) { while(parser.peek().isStart()) {
XmlElement langProperty = parser.peek(); XmlElement langProperty = parser.peek();
if(langProperty.getName().equals("compiler")) { if(langProperty.getName().equals("compiler")) {
if(langProperty.getAttribute("name").equals(compilerSpecId.getIdAsString())) { if(langProperty.getAttribute("id").equals(compilerSpecId.getIdAsString())) {
parser.start(); parser.start();
cspec = langProperty.getAttribute("spec"); cspec = langProperty.getAttribute("spec");
parser.end(); parser.end();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment