From: crouzet Date: Tue, 23 Feb 2010 14:08:56 +0000 (+0000) Subject: ajout filtre sur MEDMEM_EXPORT et virtual X-Git-Tag: V5_1_4a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=34ed509506d514a0d44831971a866e0d060887e5;p=tools%2Fhxx2salome.git ajout filtre sur MEDMEM_EXPORT et virtual --- diff --git a/scripts/hxx2salome b/scripts/hxx2salome index 13c50be..5505299 100755 --- a/scripts/hxx2salome +++ b/scripts/hxx2salome @@ -165,7 +165,7 @@ generate_module_source() # echo -e "\n-> Extract public functions\n" # we get first rid of the c like comments (parse01), then of the excetion specification (sed filter), finnaly we extract public functions (parse1) - cat ${hxx_file} | awk -f ${gene_dir}/parse01.awk | sed 's/throw.*;/;/g' | awk -f ${gene_dir}/parse1.awk > ${CLASS_NAME}_public_functions + cat ${hxx_file} | awk -f ${gene_dir}/parse01.awk | sed 's/virtual //g' | sed 's/MEDMEM_EXPORT//g' | sed 's/throw.*;/;/g' | awk -f ${gene_dir}/parse1.awk > ${CLASS_NAME}_public_functions cat ${CLASS_NAME}_public_functions if [ ! -s ${CLASS_NAME}_public_functions ] then