diff options
author | Mark Slee <mcslee@apache.org> | 2007-04-10 06:44:53 +0000 |
---|---|---|
committer | Mark Slee <mcslee@apache.org> | 2007-04-10 06:44:53 +0000 |
commit | b86c4b251e99dde627fdbe74b453cc6bf885d783 (patch) | |
tree | ba892dfebbfbe259f7385fa4a01a07aebf15c119 /compiler | |
parent | ec3f32009b0c9b3f2a5004e88752e7f5e9ec0598 (diff) | |
download | thrift-b86c4b251e99dde627fdbe74b453cc6bf885d783.tar.gz |
Yeeeeeeeeahhh
Summary: Missing that $ in the vairable
Reviewed By: php
Test Plan: you need that!
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665092 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/cpp/src/generate/t_php_generator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/cpp/src/generate/t_php_generator.cc b/compiler/cpp/src/generate/t_php_generator.cc index 117d222d8..7355c57df 100644 --- a/compiler/cpp/src/generate/t_php_generator.cc +++ b/compiler/cpp/src/generate/t_php_generator.cc @@ -111,7 +111,7 @@ void t_php_generator::generate_enum(t_enum* tenum) { } indent(f_types_) << - "static public __names = array(" << endl; + "static public $__names = array(" << endl; value = -1; for (c_iter = constants.begin(); c_iter != constants.end(); ++c_iter) { if ((*c_iter)->has_value()) { |