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:
a8af11d
)
THRIFT-924. php: Fix missing comma in generated PHP struct constants
author
David Reiss
<dreiss@apache.org>
Wed, 6 Oct 2010 17:10:13 +0000
(17:10 +0000)
committer
David Reiss
<dreiss@apache.org>
Wed, 6 Oct 2010 17:10:13 +0000
(17:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1005142
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
f95c046
..
2d9c90c
100644
(file)
--- a/
compiler/cpp/src/generate/t_php_generator.cc
+++ b/
compiler/cpp/src/generate/t_php_generator.cc
@@
-413,7
+413,7
@@
string t_php_generator::render_const_value(t_type* type, t_const_value* value) {
out << render_const_value(g_type_string, v_iter->first);
out << " => ";
out << render_const_value(field_type, v_iter->second);
- out << endl;
+ out <<
"," <<
endl;
}
indent_down();
indent(out) << "))";