Overview
Comment:Fixed problem with declaration when there are no numerical parameters.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: e8898d83d2422bd70b33793ca91f8c85c692e5526b984d04a62e46ac6cf16774
User & Date: geraint@users.sourceforge.net on 2001-08-24 21:41:04
Other Links: branch diff | manifest | tags
Context
2001-09-07
00:25:56
Partial fix for insidious bug which eliminates lines of code when parameter
names of the form (in* or off*) start continuation lines.
check-in: 6c5b7ec46d user: geraint@users.sourceforge.net tags: origin/master, trunk
2001-08-24
21:41:04
Fixed problem with declaration when there are no numerical parameters. check-in: e8898d83d2 user: geraint@users.sourceforge.net tags: origin/master, trunk
2001-08-10
16:20:43
Fixed error and added test system check-in: 769c2129d2 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/cc/sympar_txt2h.sh from [8f2ea30d8d] to [f4dafd0a84].

1
2
3



4
5
6
7
8
9
10
1
2
3
4
5
6
7
8
9
10
11
12
13



+
+
+







#! /bin/sh
# $Id$
# $Log$
# Revision 1.3  2001/03/19 02:28:53  geraint
# Branch merge: merging-ode2odes-exe back to MAIN.
#
# Revision 1.2.2.1  2001/03/16 03:56:54  geraint
# Convert variable names to lower case.
#
# Revision 1.2  2001/02/05 13:03:19  geraint
# Restrict scope of variables to file (static).
# Warn GCC that variables may be unused.
#
46
47
48
49
50
51
52
53

54
55
56
57
58
59
60
49
50
51
52
53
54
55

56
57
58
59
60
61
62
63







-
+







TMP_VAR_NAMES="mtt_tmp mtt_o $*"

IN=${SYS}_sympar.txt
OUT=${SYS}_sympar.h

declare_sys_param ()
{
cat ${IN} | awk '{printf ("static double %s MTT_UNUSED;\t// %s\n", tolower($1), $2)}'
cat ${IN} | awk '(NF>0){printf ("static double %s MTT_UNUSED;\t// %s\n", tolower($1), $2)}'
}

declare_temp_vars ()
{
for name in ${TMP_VAR_NAMES}
do
    echo ""


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