Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
ec3f320
)
Yeeeeeeeeahhh
author
Mark Slee
<mcslee@apache.org>
Tue, 10 Apr 2007 06:44:53 +0000
(06:44 +0000)
committer
Mark Slee
<mcslee@apache.org>
Tue, 10 Apr 2007 06:44:53 +0000
(06:44 +0000)
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
compiler/cpp/src/generate/t_php_generator.cc
patch
|
blob
|
history
diff --git
a/compiler/cpp/src/generate/t_php_generator.cc
b/compiler/cpp/src/generate/t_php_generator.cc
index
117d222
..
7355c57
100644
(file)
--- 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()) {