Overview
Comment:Now used within mtt_make_sympars
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 4ee7bc78cb66d513e28263e20118f0b5bed3786985d6cb34ff10eae0137d6417
User & Date: gawthrop@users.sourceforge.net on 2000-11-03 14:20:00
Other Links: branch diff | manifest | tags
Context
2000-11-03
14:33:21
Allowe PAR in place of VAR check-in: 20ed6967e0 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
14:20:00
Now used within mtt_make_sympars check-in: 4ee7bc78cb user: gawthrop@users.sourceforge.net tags: origin/master, trunk
10:43:10
Initial revision check-in: da5654265f user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/abg2sympar_m2txt from [79a422f5f6] to [cddeb96ae3].

45
46
47
48
49
50
51
52

53
54
55
56
57
58
59
60
61
62
{
  ## Explicit VAR declarations
  if (match($1,var)>0) print $2 "\t" system_name;

   ## Implicit declarations from the arg list
  if (match($1,"arg")>0) {
    args=substr($3,2,length($3)-3);
    print args

  }
}' system_name=$2 |\
grep -v '^\$' | mtt_strip_args |\
sort -u > $1_sympar.txt 2>mtt_error.txt

# Now invoke the standard error handling.
mtt_error mtt_error.txt










|
>



|


|



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
  ## Explicit VAR declarations
  if (match($1,var)>0) print $2 "\t" system_name;

   ## Implicit declarations from the arg list
  if (match($1,"arg")>0) {
    args=substr($3,2,length($3)-3);
    if (length(args)>0)
      printf("%s\t%s\n", args,system_name)
  }
}' system_name=$2 |\
grep -v '^\$' | mtt_strip_args |\
sort -u #> $1_sympar.txt 2>mtt_error.txt

# Now invoke the standard error handling.
#mtt_error mtt_error.txt




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