fix: missing comma in PHP names.c and generator.cc (#8787)

* Update names.c

* Update php_generator.cc
pull/8800/head
Brent Shaffer 3 years ago committed by GitHub
parent 4b77b73369
commit d2c82dff39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      php/ext/google/protobuf/names.c
  2. 2
      src/google/protobuf/compiler/php/php_generator.cc

@ -77,7 +77,7 @@ const char *const kReservedNames[] = {
"do", "echo", "else", "elseif", "empty",
"enddeclare", "endfor", "endforeach", "endif", "endswitch",
"endwhile", "eval", "exit", "extends", "final",
"finally", "fn" "for", "foreach", "function",
"finally", "fn", "for", "foreach", "function",
"if", "implements", "include", "include_once", "instanceof",
"global", "goto", "insteadof", "interface", "isset",
"list", "match", "namespace", "new", "or",

@ -61,7 +61,7 @@ const char* const kReservedNames[] = {
"print", "private", "protected", "public", "require",
"require_once", "return", "static", "switch", "throw",
"trait", "try", "unset", "use", "var",
"while", "xor", "yield" "int", "float",
"while", "xor", "yield", "int", "float",
"bool", "string", "true", "false", "null",
"void", "iterable"};
const char* const kValidConstantNames[] = {

Loading…
Cancel
Save