浏览代码

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

Sergio Campama 8 年之前
父节点
当前提交
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