diff options
author | Paul Yang <TeBoring@users.noreply.github.com> | 2017-05-29 15:30:47 -0700 |
---|---|---|
committer | Bo Yang <teboring@google.com> | 2017-06-20 15:06:22 -0700 |
commit | dba8928ff53ae372bba3d928a6145754a97238d5 (patch) | |
tree | 4177a3467bd1120fa99e5dfccb59c7b1f0c1b7ca /php/ext | |
parent | bf04c83267619b618e7112b242f424f8b3e785b6 (diff) | |
download | protobuf-dba8928ff53ae372bba3d928a6145754a97238d5.tar.gz protobuf-dba8928ff53ae372bba3d928a6145754a97238d5.tar.bz2 protobuf-dba8928ff53ae372bba3d928a6145754a97238d5.zip |
Add ARRAY for reserved name (#3150)
Diffstat (limited to 'php/ext')
-rw-r--r-- | php/ext/google/protobuf/def.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/php/ext/google/protobuf/def.c b/php/ext/google/protobuf/def.c index 8e563a61..099ebd05 100644 --- a/php/ext/google/protobuf/def.c +++ b/php/ext/google/protobuf/def.c @@ -30,8 +30,8 @@ #include "protobuf.h" -const char* const kReservedNames[] = {"Empty"}; -const int kReservedNamesSize = 1; +const char* const kReservedNames[] = {"Empty", "ECHO", "ARRAY"}; +const int kReservedNamesSize = 3; // Forward declare. static void descriptor_init_c_instance(Descriptor* intern TSRMLS_DC); |