aboutsummaryrefslogtreecommitdiffhomepage
path: root/python/google/protobuf/internal/test_bad_identifiers.proto
diff options
context:
space:
mode:
authorGravatar Feng Xiao <xfxyjwf@gmail.com>2014-11-14 11:50:31 -0800
committerGravatar Feng Xiao <xfxyjwf@gmail.com>2014-11-14 11:50:31 -0800
commitf157a5651c79a7a36e242af216a5d5b383ba8af2 (patch)
tree368bb0ca0e89ab7514302e4df00435a4ef461a28 /python/google/protobuf/internal/test_bad_identifiers.proto
parentfaf581d20866ad5e586b3e515f6c547d2dcec2c1 (diff)
Down-integrate from internal code base (C++ maps support).
Diffstat (limited to 'python/google/protobuf/internal/test_bad_identifiers.proto')
-rw-r--r--python/google/protobuf/internal/test_bad_identifiers.proto6
1 files changed, 2 insertions, 4 deletions
diff --git a/python/google/protobuf/internal/test_bad_identifiers.proto b/python/google/protobuf/internal/test_bad_identifiers.proto
index 29fa38a2..c4860ea8 100644
--- a/python/google/protobuf/internal/test_bad_identifiers.proto
+++ b/python/google/protobuf/internal/test_bad_identifiers.proto
@@ -40,15 +40,13 @@ message TestBadIdentifiers {
extensions 100 to max;
}
+// Make sure these reasonable extension names don't conflict with internal
+// variables.
extend TestBadIdentifiers {
- // Make sure these reasonable extension names don't conflict with internal
- // variables.
optional string message = 100 [default="foo"];
optional string descriptor = 101 [default="bar"];
optional string reflection = 102 [default="baz"];
optional string service = 103 [default="qux"];
- // And Python keywords.
- optional string class = 104 [default="Foo"];
}
message AnotherMessage {}