Fixed recognition of old proto syntax.
diff --git a/com.google.eclipse.protobuf.ui/src/com/google/eclipse/protobuf/ui/parser/PreferenceDrivenProtobufParser.java b/com.google.eclipse.protobuf.ui/src/com/google/eclipse/protobuf/ui/parser/PreferenceDrivenProtobufParser.java index 8aefb99..8b89035 100644 --- a/com.google.eclipse.protobuf.ui/src/com/google/eclipse/protobuf/ui/parser/PreferenceDrivenProtobufParser.java +++ b/com.google.eclipse.protobuf.ui/src/com/google/eclipse/protobuf/ui/parser/PreferenceDrivenProtobufParser.java
@@ -42,9 +42,6 @@ } private boolean isNotProto2(IParseResult result) { - if (!result.hasSyntaxErrors()) { - return false; - } for (INode node : result.getSyntaxErrors()) { if (isNonProto2(node.getSyntaxErrorMessage())) { return true;