Merge remote-tracking branch 'origin/GT-3149_ghidra1_PE_ARM'

This commit is contained in:
ghidra1 2019-09-17 11:42:50 -04:00
commit bc76ea6ae5
11 changed files with 121 additions and 28 deletions

View file

@ -369,7 +369,10 @@ public class SleighLanguageProvider implements LanguageProvider {
catch (SleighException ex) { // Error with the manual shouldn't prevent language from loading
Msg.error(this, ex.getMessage());
}
descriptions.put(id, description);
if (descriptions.put(id, description) != null) {
Msg.showError(this, null, "Duplicate Sleigh Language ID",
"Language " + id + " previously defined: " + defsFile);
}
}
parser.end(start);
}