Browse Source

Add initialized as a reserved keyword as that's the actual property name

Sergio Campama 8 years ago
parent
commit
e55782fa95
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/google/protobuf/compiler/objectivec/objectivec_helpers.cc

+ 1 - 1
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