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: 0ec0c085b03edadd79faec787ab7b2429b75cb0ead448efbaa6ded36c44a5203
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: 1c1395bf50 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: 0ec0c085b0 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: e19274ba0f 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
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 #> $1_sympar.txt 2>mtt_error.txt
grep -v '^\$' | mtt_strip_args | sort -u > mtt_stripped_args


# Now invoke the standard error handling.
#mtt_error mtt_error.txt
## 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 ]