1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
# Generates function header for a computer language
# PJ Gawthrop May 1998
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.10 2000/04/18 11:14:32 peterg
## - parameters option
##
## Revision 1.9 2000/04/08 10:23:38 peterg
## Added -noglobal option
##
## Revision 1.8 1999/02/16 04:14:53 peterg
|
>
>
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
# Generates function header for a computer language
# PJ Gawthrop May 1998
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.11 2000/05/11 08:03:02 peterg
## Remove the mtt no global stuff
##
## Revision 1.10 2000/04/18 11:14:32 peterg
## - parameters option
##
## Revision 1.9 2000/04/08 10:23:38 peterg
## Added -noglobal option
##
## Revision 1.8 1999/02/16 04:14:53 peterg
|
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
|
$extras
EOF
fi
# Globals
if [ -z "$noglobals" ]; then
sympar2global_txt2lang $1 $language
#else
#cat<<EOF
#global ...
#mtt_no_globals ;
#EOF
fi
# Explicit parameters
if [ -n "$parameters" ]; then
sympar2par_txt2m $1
fi
|
|
|
|
|
|
|
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
|
$extras
EOF
fi
# Globals
if [ -z "$noglobals" ]; then
sympar2global_txt2lang $1 $language
else
cat<<EOF
global ...
mtt_no_globals ;
EOF
fi
# Explicit parameters
if [ -n "$parameters" ]; then
sympar2par_txt2m $1
fi
|