Index: mttroot/mtt/bin/trans/m/cbg2ese.m ================================================================== --- mttroot/mtt/bin/trans/m/cbg2ese.m +++ mttroot/mtt/bin/trans/m/cbg2ese.m @@ -21,10 +21,13 @@ ## ############################################################### ## ## Version control history ## ############################################################### ## ## $Id$ ## ## $Log$ + ## ## Revision 1.49 2003/03/13 15:19:04 gawthrop + ## ## Now uses __ to delimit subsystems in names. + ## ## ## ## Revision 1.48 2003/03/13 15:10:26 gawthrop ## ## Removed redundant final column ## ## ## ## Revision 1.47 2003/02/28 09:12:17 gawthrop ## ## Two more columns in _stuc.txt: causality and subsystem name @@ -399,13 +402,13 @@ fprintf(ese_file, ... "\n\t%s Equations linking up subsystem %s (%s)\n\n", ... pc, comp_name, subsystem.type); if (k>1) - name_comp_name = sprintf("%s%s%s_%d", ... + name_comp_name = sprintf("%s%s%s%s%d", ... full_name_repetition, sub_delim, \ - comp_name, k); + comp_name, sub_delim, k); else name_comp_name = sprintf("%s%s%s", ... full_name_repetition, sub_delim, \ comp_name); endif