Author: dreiss
Date: Wed Oct  6 17:10:13 2010
New Revision: 1005142

URL: http://svn.apache.org/viewvc?rev=1005142&view=rev
Log:
THRIFT-924. php: Fix missing comma in generated PHP struct constants

Modified:
    incubator/thrift/trunk/compiler/cpp/src/generate/t_php_generator.cc

Modified: incubator/thrift/trunk/compiler/cpp/src/generate/t_php_generator.cc
URL: 
http://svn.apache.org/viewvc/incubator/thrift/trunk/compiler/cpp/src/generate/t_php_generator.cc?rev=1005142&r1=1005141&r2=1005142&view=diff
==============================================================================
--- incubator/thrift/trunk/compiler/cpp/src/generate/t_php_generator.cc 
(original)
+++ incubator/thrift/trunk/compiler/cpp/src/generate/t_php_generator.cc Wed Oct 
 6 17:10:13 2010
@@ -413,7 +413,7 @@ string t_php_generator::render_const_val
       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) << "))";


Reply via email to