From e311cba8dd490dd34e0c0c628fa411f67e9499c6 Mon Sep 17 00:00:00 2001 From: crouzet Date: Wed, 26 Aug 2009 14:34:27 +0000 Subject: [PATCH] add a missing in the preprocessing of string type --- scripts/parse3.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2