From 34ed509506d514a0d44831971a866e0d060887e5 Mon Sep 17 00:00:00 2001 From: crouzet Date: Tue, 23 Feb 2010 14:08:56 +0000 Subject: [PATCH] ajout filtre sur MEDMEM_EXPORT et virtual --- scripts/hxx2salome | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2