Index: mttroot/mtt/cc/sympar_txt2h.sh ================================================================== --- mttroot/mtt/cc/sympar_txt2h.sh +++ mttroot/mtt/cc/sympar_txt2h.sh @@ -1,8 +1,11 @@ #! /bin/sh # $Id$ # $Log$ +# Revision 1.3 2001/03/19 02:28:53 geraint +# Branch merge: merging-ode2odes-exe back to MAIN. +# # Revision 1.2.2.1 2001/03/16 03:56:54 geraint # Convert variable names to lower case. # # Revision 1.2 2001/02/05 13:03:19 geraint # Restrict scope of variables to file (static). @@ -48,11 +51,11 @@ IN=${SYS}_sympar.txt OUT=${SYS}_sympar.h declare_sys_param () { -cat ${IN} | awk '{printf ("static double %s MTT_UNUSED;\t// %s\n", tolower($1), $2)}' +cat ${IN} | awk '(NF>0){printf ("static double %s MTT_UNUSED;\t// %s\n", tolower($1), $2)}' } declare_temp_vars () { for name in ${TMP_VAR_NAMES}