private void getOldLanguages(List<OldLanguage> list) {
		Iterable<ResourceFile> files =
			Application.findFilesByExtensionInApplication(OLD_LANGUAGE_FILE_EXT);
		for (ResourceFile file : files) {
			try {
				list.add(new OldLanguage(file));
			}
			catch (Exception e) {
				++badFileCount;
				Msg.error(log, "Failed to parse: " + file, e);
			}
		}
	}
Validate all old language definitions contained within the old language map.  
This is intended to be used by a unit test.
@return number of validation errors
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/OldLanguageFactory.java