commit | c61818fb5d692500a3b2068777341034db64cc2a | [log] [tgz] |
---|---|---|
author | foremans <foremans@google.com> | Thu May 30 11:12:04 2013 -0700 |
committer | foremans <foremans@google.com> | Thu May 30 11:12:04 2013 -0700 |
tree | a4cf1294327b84689279fe2f66db648ab25ef548 | |
parent | ef3b01fde6cbfd2966bbbe23767727ab167ca574 [diff] |
Parser will no longer choke when using keywords as field names, but this practice is highly discouraged.
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 2a9b65c..63e6b96 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
@@ -177,7 +177,7 @@ MessageOptionField | '(' ExtensionOptionField ')'; MessageOptionField: - target=[IndexedElement]; + target=[IndexedElement|Name]; ExtensionOptionField: target=[IndexedElement|QualifiedName];