return Status.CANCELED;
}
Severity severity = ERROR;
if (proto1ImportsFound && isUnresolvedReferenceError(error)) {
severity = WARNING;
ProtobufDiagnostic d = (ProtobufDiagnostic) error;
String message = d.getMessage();
if (message.endsWith(scopingError)) {
continue;
}
if (!message.endsWith(".")) {
d.appendToMessage(".");
}
d.appendToMessage(" ");
d.appendToMessage(scopingError);
}
issueFromXtextResourceDiagnostic(error, severity, acceptor);
}
return Status.OK;
}