diff options
author | Paul Yang <TeBoring@users.noreply.github.com> | 2017-05-29 15:30:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-29 15:30:47 -0700 |
commit | 282fb9e68ec101b7b7616a45279427944afc3e6b (patch) | |
tree | bb7d92efef2d228e62c47ec3ce8951c8fd567b0b /php/ext/google | |
parent | 4d5daf4ef97918176b892dbedce17b1d854ffe8e (diff) | |
download | protobuf-282fb9e68ec101b7b7616a45279427944afc3e6b.tar.gz protobuf-282fb9e68ec101b7b7616a45279427944afc3e6b.tar.bz2 protobuf-282fb9e68ec101b7b7616a45279427944afc3e6b.zip |
Add ARRAY for reserved name (#3150)
Diffstat (limited to 'php/ext/google')
-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); |