Overview
Comment:Added declaration as third arg
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: ce0109f467050d463750fd01ce40841d8de6213f6560f6073df35230f92d8862
User & Date: gawthrop@users.sourceforge.net on 2000-11-07 19:18:26
Other Links: branch diff | manifest | tags
Context
2000-11-08
09:51:52
Started incorporating Geraints CC/oct conversions check-in: c2ec1e207e user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2000-11-07
19:18:26
Added declaration as third arg check-in: ce0109f467 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
17:20:51
useful-functions.hh now included locally check-in: 8f6c800f21 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/sympar2par_txt2m from [369c7b910c] to [5ffb0c47af].

10
11
12
13
14
15
16
17
18


19
20
21
22
23
24


25
26
27
28
29
30


31
32
33
34
35
36
10
11
12
13
14
15
16


17
18
19
20
21
22


23
24
25
26
27
28


29
30
31
32
33
34
35
36







-
-
+
+




-
-
+
+




-
-
+
+






# Used in lang_header
# Copyright (C) 2000 by Peter J. Gawthrop

case $2 in
    zero)
	  strip_comments <$1_sympar.txt  |\
          awk '{
          i++; printf(" %s = 0.0;\n", tolower($1));
          }'
          i++; printf("  %s %s = 0.0;\n", decl, tolower($1));
          }' decl=$3
	;;
    set)
	  strip_comments <$1_sympar.txt  |\
         awk '{
           i++; printf("  mttpar(%i) \t= %s;\n", i, tolower($1));
         }'
           i++; printf("  %s mttpar(%i) \t= %s;\n", decl, i, tolower($1));
         }' decl=$3
        ;;
    *)
         strip_comments <$1_sympar.txt  |\
         awk '{
           i++; printf("  %s \t= mttpar(%i);\n", tolower($1), i);
         }'
           i++; printf("  %s %s \t= mttpar(%i);\n", decl, tolower($1), i);
         }' decl=$3
	;;
esac





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