Fixed: [ Issue 56 ] "message" is a valid name for message fields https://code.google.com/p/protobuf-dt/issues/detail?id=56
diff --git a/com.google.eclipse.protobuf/src/com/google/eclipse/protobuf/Protobuf.xtext b/com.google.eclipse.protobuf/src/com/google/eclipse/protobuf/Protobuf.xtext index 3f6fc82..9cc6fd4 100644 --- a/com.google.eclipse.protobuf/src/com/google/eclipse/protobuf/Protobuf.xtext +++ b/com.google.eclipse.protobuf/src/com/google/eclipse/protobuf/Protobuf.xtext
@@ -56,7 +56,7 @@ '}'(';')?; Property: - modifier=Modifier type=AbstractTypeReference name=ID '=' index=INT + modifier=Modifier type=AbstractTypeReference name=(ID | 'message') '=' index=INT ( ('[' 'default' '=' default=ValueRef ']') | ('[' 'default' '=' default=ValueRef (',' fieldOptions+=FieldOption)* ']') |