Index: mttroot/mtt/bin/trans/mtt_m2p ================================================================== --- mttroot/mtt/bin/trans/mtt_m2p +++ mttroot/mtt/bin/trans/mtt_m2p @@ -13,10 +13,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.10 1998/07/27 20:26:15 peterg +## Added new VARs mttWSTEPS, MTTWMIN,mttWMAX +## ## Revision 1.9 1998/07/27 17:20:42 peterg ## Allow , between () ## ## Revision 1.8 1998/07/26 19:38:17 peterg ## Replaced t0..t9 by mtt_temp0.. @@ -180,14 +183,19 @@ printf("{%s %s_state.p}\n",inc,sys) printf("{%s %s_input.p}\n",inc,sys) printf("{%s %s_ode.p}\n",inc,sys) printf("{%s %s_odeo.p}\n",inc,sys) printf("{%s %s_switch.p}\n",inc,sys) + for (k=1;k<=j;k++) printf("%s\n", comment[k]) + printf("\n") + printf("\nBEGIN\n") } - for (k=1;k<=j;k++) printf("%s\n", comment[k]) - printf("\n") - printf("\nBEGIN\n") + else{ + for (k=1;k<=j;k++) printf("%s\n", comment[k]) + printf("\n") + printf("\nBEGIN\n") + } doing_header = 0; } if (match($1,comment_regexp)>0){ if (doing_header==1) comment[++j] = $0