aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/compiler/objectivec
diff options
context:
space:
mode:
authorSergio Campama <kaipi@google.com>2017-06-29 11:49:36 -0400
committerSergio Campama <kaipi@google.com>2017-06-29 11:49:36 -0400
commite55782fa950b4dbdbefff8faaa22da1effd2368b (patch)
tree3b9764f944af58a7f67a3c7ac0f1bbffb9d4cf5c /src/google/protobuf/compiler/objectivec
parent176bac6dac03f8dc728fd9c7a0fbc96aedfed7d1 (diff)
downloadprotobuf-e55782fa950b4dbdbefff8faaa22da1effd2368b.tar.gz
protobuf-e55782fa950b4dbdbefff8faaa22da1effd2368b.tar.bz2
protobuf-e55782fa950b4dbdbefff8faaa22da1effd2368b.zip
Add initialized as a reserved keyword as that's the actual property name
Diffstat (limited to 'src/google/protobuf/compiler/objectivec')
-rw-r--r--src/google/protobuf/compiler/objectivec/objectivec_helpers.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc b/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc
index 1ea2676a..bb8170a9 100644
--- a/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc
+++ b/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc
@@ -196,7 +196,7 @@ const char* const kReservedWordList[] = {
// method declared in protos. The main cases are methods
// that take no arguments, or setFoo:/hasFoo: type methods.
"clear", "data", "delimitedData", "descriptor", "extensionRegistry",
- "extensionsCurrentlySet", "isInitialized", "serializedSize",
+ "extensionsCurrentlySet", "initialized", "isInitialized", "serializedSize",
"sortedExtensionsInUse", "unknownFields",
// MacTypes.h names