Overview
Comment:Now handles #PAR (or #VAR) declarations - adds them to the top of the sympar list
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: a9b10efb64ccb4be6ddfe81db560c3647dc4da462240f7097019c03f3b0da3bf
User & Date: gawthrop@users.sourceforge.net on 2001-07-12 07:29:28
Other Links: branch diff | manifest | tags
Context
2001-07-12
07:31:07
strips out explicit #PAR (#VAR) declarations from lbl.txt or abg.m check-in: ddc5238d02 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
07:29:28
Now handles #PAR (or #VAR) declarations - adds them to the top of the sympar list check-in: a9b10efb64 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
04:02:53
Now fixes multiports for input and output as well as state check-in: 23f98591e2 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/abg2sympar_m2txt from [e5a3769ca7] to [6b223222ab].

64
65
66
67
68
69
70
71
72
73
74





75

76


77
78
   ## 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=$SystemName |\
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













|
|

|
>
>
>
>
>
|
>

>
>


64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
   ## 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=$SystemName |\
grep -v '^\$' | mtt_strip_args | sort -u > mtt_stripped_args


## Now get the explicit declarations
if [ -n "$UseLabelFile" ]; then ## Take input from lbl.txt
    ext=_lbl.txt
else
    ext=_abg.m
fi

sh $1_type.sh "strip_pars.sh " "$ext " " " | sort -u > mtt_explicit_args

## And write sorted list
cat  mtt_explicit_args mtt_stripped_args 



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