From: crouzet Date: Wed, 26 Aug 2009 14:34:27 +0000 (+0000) Subject: add a missing in the preprocessing of string type X-Git-Tag: V5_1_3rc1~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e311cba8dd490dd34e0c0c628fa411f67e9499c6;p=tools%2Fhxx2salome.git add a missing in the preprocessing of string type --- diff --git a/scripts/parse3.awk b/scripts/parse3.awk index 22d3daa..b5eeb19 100644 --- a/scripts/parse3.awk +++ b/scripts/parse3.awk @@ -137,7 +137,7 @@ BEGIN { cpp_impl_a["long&"]="\tlong _%s;\n" cpp_impl_a["short&"]="\tshort _%s;\n" cpp_impl_a["unsigned&"]="\tunsigned _%s;\n" - cpp_impl_a["std::string&"]="std::string _%s;\n" + cpp_impl_a["std::string&"]="\tstd::string _%s;\n" cpp_impl_a["const MEDMEM::MESH&"]="\tMEDMEM::MESHClient* _%s = new MEDMEM::MESHClient(%s);\n" # MESHClient cannot be created on the stack (private constructor), so we create it on the heap and dereference it later (in treatment 4) cpp_impl_a["const MEDMEM::MESH*"]="\tMEDMEM::MESHClient* _%s = new MEDMEM::MESHClient(%s);\n" cpp_impl_a["const MEDMEM::SUPPORT&"]="\tMEDMEM::SUPPORTClient* _%s = new MEDMEM::SUPPORTClient(%s);\n" # SUPPORTClient cannot be created on the stack (protected destructor), so we create it on the heap and dereference it later (in treatment 4)