Overview
Comment:Small change to modeline generation
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 9e95903a9eceaeab154174f9f57412eaa030a0810d30a854f73af60045385d95
User & Date: gawthrop@users.sourceforge.net on 1999-02-16 04:14:53
Other Links: branch diff | manifest | tags
Context
1999-02-16
04:38:22
Now forces creation of _smx file if METHOD=IMPLICIT in simpar.txt check-in: 0bccebd16d user: gawthrop@users.sourceforge.net tags: origin/master, trunk
04:14:53
Small change to modeline generation check-in: 9e95903a9e user: gawthrop@users.sourceforge.net tags: origin/master, trunk
03:50:09
Removed explicit _smx targets check-in: 33bd80c2d1 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/lang_header from [c6ddc893b1] to [855d4ed75e].

1
2
3
4
5
6
7
8
9
10



11
12
13
14
15
16
17
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.7  1999/01/20 22:19:21  peterg
## Puts emacs mode line at top of .m files
##
## Revision 1.6  1998/07/27 20:30:39  peterg
## Mods for dm rep - no globals ...
##
## Revision 1.5  1998/07/25 20:42:30  peterg
## No assignements for switch either
##
## Revision 1.4  1998/07/25 10:43:10  peterg
61
62
63
64
65
66
67

68


69
70
71
72
73
74
75
64
65
66
67
68
69
70
71

72
73
74
75
76
77
78
79
80







+
-
+
+







	Rb=']';
	;;
    *)
	echo Language $language not supported - sorry; exit 1
esac

# Appropriate emacs mode line
cat <<EOF
echo $modeline
$modeline
EOF

######### Octave (matlab) code
if [ "$language" = m ]; then
cat <<EOF
function $output = $1_$rep($args);
% $output = $1_$rep($args);
%System $system, representation $rep, language $language;


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