THRIFT-460: fixes constant structs
authorT Jake Luciani <jake@apache.org>
Tue, 21 Apr 2009 00:50:11 +0000 (00:50 +0000)
committerT Jake Luciani <jake@apache.org>
Tue, 21 Apr 2009 00:50:11 +0000 (00:50 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@766933 13f79535-47bb-0310-9956-ffa450edef68

compiler/cpp/src/generate/t_perl_generator.cc

index ca3210a..ae204fd 100644 (file)
@@ -386,6 +386,7 @@ string t_perl_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 << ",";
       out << endl;
     }