Overview
Comment:Added declaration as third arg
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 495b25416a029ea2dbd17626db908d6e4f95b51c2a13a2250937c404bdb304b7
User & Date: gawthrop@users.sourceforge.net on 2000-11-07 19:18:26.000
Other Links: branch diff | manifest | tags
Context
2000-11-08
09:51:52
Started incorporating Geraints CC/oct conversions check-in: 3dd88bdb16 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2000-11-07
19:18:26
Added declaration as third arg check-in: 495b25416a user: gawthrop@users.sourceforge.net tags: origin/master, trunk
17:20:51
useful-functions.hh now included locally check-in: efc041f9fa user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes
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 ]