Просмотр исходного кода

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

Sergio Campama 8 лет назад
Родитель
Сommit
e55782fa95
1 измененных файлов с 1 добавлено и 1 удалено
  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