commit | f5a26bdbd6eb1d7de56883f9d431a01c21972077 | [log] [tgz] |
---|---|---|
author | foremans <foremans@google.com> | Thu May 30 12:39:33 2013 -0700 |
committer | foremans <foremans@google.com> | Thu May 30 12:39:33 2013 -0700 |
tree | 47c2e48ec7a3356cf7a45e2cf517da51e28c2ab6 | |
parent | 7c836a65862c42da634a1ec1794374f6c43d9e2a [diff] |
Allow keywords to be used as field names as well. This is valid by 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 63e6b96..41f1d91 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
@@ -207,7 +207,7 @@ NormalFieldName | ExtensionFieldName; NormalFieldName: - target=[MessageField]; + target=[MessageField|Name]; ExtensionFieldName: '[' target=[MessageField|QualifiedName] ']';