Overview
| Comment: | struc version only does state and input |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
830121d05fe4d7a16cdf740079190343 |
| User & Date: | gawthrop@users.sourceforge.net on 2000-10-14 09:32:50.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
2000-10-14
| ||
| 16:11:00 | Made all variables, states etc lower case check-in: db7c94d1b4 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 09:32:50 | struc version only does state and input check-in: 830121d05f user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 09:26:48 | Initial revision check-in: 40bf4a135b user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/mtt_txt2declare
from [b98e85f918]
to [f28a37be46].
| ︙ | ︙ | |||
10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # Copyright (C) 2000 by Peter J. Gawthrop ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.1 2000/10/11 09:08:20 peterg ## Initial revision ## ############################################################### sys=$1 | > > > | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | # Copyright (C) 2000 by Peter J. Gawthrop ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.1 2000/10/14 09:26:48 peterg ## Initial revision ## ## Revision 1.1 2000/10/11 09:08:20 peterg ## Initial revision ## ############################################################### sys=$1 |
| ︙ | ︙ | |||
32 33 34 35 36 37 38 |
;;
*)
echo Language $language not supported - sorry; exit 1
esac
case $what in
struc)
| | > > | 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
;;
*)
echo Language $language not supported - sorry; exit 1
esac
case $what in
struc)
strip_comments < $sys"_"$what".txt" | awk '{if (($1=="state")||($1=="input"))
print $4;
}' >mtt_names
;;
sympar)
strip_comments < $sys"_"$what".txt" | awk '{print $1}' >mtt_names
;;
*)
echo Argument 2 must be struc or sympar
esac
|
| ︙ | ︙ |