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.8 2002/09/16 08:08:01 geraint +# Merged changes from global-optimisation branch. +# # Revision 1.7.2.1 2002/09/04 10:44:59 geraint # Added option to specify number of tmp variables declared (-ntmpvar ). # # Revision 1.7 2002/07/10 11:53:32 geraint # Replaced shell loop with template expansion - perceptibly quicker generation of sympar.h. @@ -1113,7 +1116,10 @@ #endif EOF declare_sys_param >> ${OUT} -declare_temp_vars >> ${OUT} +if [ ${NUM_OF_TMP_VAR} -gt 0 ]; then + declare_temp_vars >> ${OUT} +fi +