]> SALOME platform Git repositories - tools/hxx2salome.git/blobdiff - scripts/parse3.awk
Salome HOME
bug correction : add a missing ";" for 6 types : double&, int&, float&, ...
[tools/hxx2salome.git] / scripts / parse3.awk
index ef106174c4233fefa8c46cdb047ec1ff2ad205ff..00ecbf77720cd9efaaf1355815802a0180433419 100644 (file)
@@ -225,12 +225,12 @@ BEGIN {
   cpp_impl_c["std::vector<int>*&"]=\
              "\t%s = SenderFactory::buildSender(*this,&(*_%s)[0],(*_%s).size(),true);\n"
   cpp_impl_c["std::string&"]="\t%s = CORBA::string_dup(_%s.c_str());\n"
-  cpp_impl_c["int&"]="\t%s = _%s"
-  cpp_impl_c["double&"]="\t%s = _%s"
-  cpp_impl_c["float&"]="\t%s = _%s"
-  cpp_impl_c["long&"]="\t%s = _%s"
-  cpp_impl_c["short&"]="\t%s = _%s"
-  cpp_impl_c["unsigned&"]="\t%s = _%s"
+  cpp_impl_c["int&"]="\t%s = _%s;\n"
+  cpp_impl_c["double&"]="\t%s = _%s;\n"
+  cpp_impl_c["float&"]="\t%s = _%s;\n"
+  cpp_impl_c["long&"]="\t%s = _%s;\n"
+  cpp_impl_c["short&"]="\t%s = _%s;\n"
+  cpp_impl_c["unsigned&"]="\t%s = _%s;\n"
   cpp_impl_c["const MEDMEM::MESH&"]="\t_%s->removeReference();\n"
   cpp_impl_c["const MEDMEM::MESH*"]="\t_%s->removeReference();\n"
 #