Do not generate constants php files from Thrift when they will be empty
authorMark Slee <mcslee@apache.org>
Tue, 20 Nov 2007 02:05:29 +0000 (02:05 +0000)
committerMark Slee <mcslee@apache.org>
Tue, 20 Nov 2007 02:05:29 +0000 (02:05 +0000)
commit12a3b4e002b34ba115959b89f113e76a325e5389
tree1458300f1174e044d67fe61e3e061945c92f69de
parent8440605c277339770483a7daf31da7858bff2b38
Do not generate constants php files from Thrift when they will be empty

Summary: That's just silly

Reviewed By: peter, dreiss

Test Plan: Generate PHP from a .thrift with no constants. Notice there is no _constants.php generated.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665355 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_php_generator.cc