Salome HOME
add a missing in the preprocessing of string type
[tools/hxx2salome.git] / scripts / parse3.awk
index 22d3daa17a9c516bc240565ecb9b28cb38085aa1..b5eeb19bc0cb1a328e19df514824767723354bf8 100644 (file)
@@ -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)