Overview
Comment:Fudge to avoid a bizzare bug (?) in p2c which corrupts "zero_matrix"
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 9c178547d348be5a9aeb71973f559cc942268a2457fd945b0888872a9fa2045a
User & Date: gawthrop@users.sourceforge.net on 1999-04-20 06:17:15
Other Links: branch diff | manifest | tags
Context
1999-04-20
06:18:27
Initial revision check-in: fc9fb284e3 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
06:17:15
Fudge to avoid a bizzare bug (?) in p2c which corrupts "zero_matrix" check-in: 9c178547d3 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
06:16:46
Removed calls to _switch.m check-in: ca97b27284 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/mtt_p2c from [23aaefc197] to [c07f300f6b].

12
13
14
15
16
17
18



19
20
21
22
23
24
25
# Copyright (c) P.J.Gawthrop 1998

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$



## 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
##
## Revision 1.2  1998/07/25 16:35:43  peterg







>
>
>







12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright (c) P.J.Gawthrop 1998

###############################################################
## 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
##
## Revision 1.2  1998/07/25 16:35:43  peterg
71
72
73
74
75
76
77

78
79
80
81
82

cat <<EOF >> $1_$2.c
/* End of the header file. */


EOF


cat mtt_junk2 >> $1_$2.c

if [ -n "$info" ]; then
    cat mtt_p2c.log
fi







>
|




74
75
76
77
78
79
80
81
82
83
84
85
86

cat <<EOF >> $1_$2.c
/* End of the header file. */


EOF

## 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


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]