소스 검색

Merge pull request #3287 from sergiocampama/initialized

Add initialized as a reserved keyword as that's the actual property name
Thomas Van Lenten 8 년 전
부모
커밋
5a52b3588d
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