Overview
Comment:Put in leading spaces to prettify code
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 36b44e894ffb774fce352c4ebc46eac65bc2d9c1fca899967f69d6556e08586d
User & Date: gawthrop@users.sourceforge.net on 2000-10-14 07:58:56
Other Links: branch diff | manifest | tags
Context
2000-10-14
08:04:40
Changed arguments to _inout for consistency check-in: 36aa713d93 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
07:58:56
Put in leading spaces to prettify code check-in: 36b44e894f user: gawthrop@users.sourceforge.net tags: origin/master, trunk
06:49:31
Make parameter listing representation dependent check-in: 572f7abd70 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/mtt_name2array from [6bb9df96f5] to [10d4804e06].

31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
	echo Repesentation $2 not supported
esac

case $3 in
    zero)
	  strip_comments <mtt_infile | grep "$filter"  |\
          awk '{
          i++; printf(" %s = 0.0;\n", tolower($1));
          }'
	;;
    set)
	  strip_comments <mtt_infile  |\
         awk '{
           i++; printf("%s(%i)\t= %s;\n", name, i, tolower($1));
         }' name=$name
        ;;
    *)
         strip_comments <mtt_infile  |\
         awk '{
           i++; printf("  %s \t= %s(%i);\n", tolower($1), name, i);
         }' name=$name







|





|







31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
	echo Repesentation $2 not supported
esac

case $3 in
    zero)
	  strip_comments <mtt_infile | grep "$filter"  |\
          awk '{
          i++; printf("  %s = 0.0;\n", tolower($1));
          }'
	;;
    set)
	  strip_comments <mtt_infile  |\
         awk '{
           i++; printf("  %s(%i)\t= %s;\n", name, i, tolower($1));
         }' name=$name
        ;;
    *)
         strip_comments <mtt_infile  |\
         awk '{
           i++; printf("  %s \t= %s(%i);\n", tolower($1), name, i);
         }' name=$name


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