Index: mttroot/mtt/bin/trans/mtt_p2c ================================================================== --- mttroot/mtt/bin/trans/mtt_p2c +++ mttroot/mtt/bin/trans/mtt_p2c @@ -14,10 +14,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.5 1998/08/12 14:14:18 peterg +## Added pretty heading and explicitly include p2c header. +## ## Revision 1.4 1998/07/29 13:56:34 peterg ## Replces p2c include by local include. ## ## Revision 1.3 1998/07/27 20:32:51 peterg ## Now gives immediate warnings @@ -73,10 +76,11 @@ /* End of the header file. */ EOF -cat mtt_junk2 >> $1_$2.c +## The sed item is to avoid a bizzare bug (?) in p2c which corrupts "zero_matrix" +cat mtt_junk2 | sed 's/zero_matrix/mttmat/g'>> $1_$2.c if [ -n "$info" ]; then cat mtt_p2c.log fi