diff options
author | Paul Yang <TeBoring@users.noreply.github.com> | 2017-04-20 01:19:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-20 01:19:03 -0700 |
commit | 4c57e8475f78ccac80407f03c2d23d30014785f9 (patch) | |
tree | fa9c6ca31796db77c3367acac83233a44938e117 /php/tests/proto/test_prefix.proto | |
parent | b97cd573e405dd511b09a9fae124427a29741395 (diff) |
Prepend "PB" to generated classes whose name are reserved words. (#2990)
Diffstat (limited to 'php/tests/proto/test_prefix.proto')
-rw-r--r-- | php/tests/proto/test_prefix.proto | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/php/tests/proto/test_prefix.proto b/php/tests/proto/test_prefix.proto index 04582121..9bfbad7f 100644 --- a/php/tests/proto/test_prefix.proto +++ b/php/tests/proto/test_prefix.proto @@ -5,3 +5,8 @@ option php_class_prefix = "Prefix"; message TestPrefix { int32 a = 1; } + +// Test prefix for reserved words. +message Empty { + int32 a = 1; +} |