Overview
Comment: | Copy NOTPAR as well |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
5461f1be3dc06d70042c4bbfff374832 |
User & Date: | gawthrop@users.sourceforge.net on 2000-11-03 14:53:33 |
Other Links: | branch diff | manifest | tags |
Context
2000-11-03
| ||
14:57:06 | Corrected regexp notvar check-in: 3fe818cfa4 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
14:53:33 | Copy NOTPAR as well check-in: 5461f1be3d user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
14:33:21 | Allowe PAR in place of VAR check-in: 20ed6967e0 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/rbg2abg_m from [746d1ccf30] to [fb82d60966].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | #! /bin/sh ###################################### ##### Model Transformation Tools ##### ###################################### # Bourne shell script: rbg2abg_m # ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.13 2000/03/16 12:53:26 peterg ## Added copy of the %VAR declarations ## Put in the endfunction statement ## ## Revision 1.12 1998/07/28 19:07:48 peterg ## Writes out N_ports as well as n_ports ## | > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #! /bin/sh ###################################### ##### Model Transformation Tools ##### ###################################### # Bourne shell script: rbg2abg_m # ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.14 2000/09/14 08:41:35 peterg ## Strip off the additional direction info from rbonds ## ## Revision 1.13 2000/03/16 12:53:26 peterg ## Added copy of the %VAR declarations ## Put in the endfunction statement ## ## Revision 1.12 1998/07/28 19:07:48 peterg ## Writes out N_ports as well as n_ports ## |
︙ | ︙ | |||
152 153 154 155 156 157 158 | # fprintf(filenum, 'N_ports = %1.0f;\n', N_ports); EOF # Append any VAR declarations if [ -f "$1_lbl.txt" ]; then echo "# Explicit variable declarations" >> $1_abg.m | | > | 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 | # fprintf(filenum, 'N_ports = %1.0f;\n', N_ports); EOF # Append any VAR declarations if [ -f "$1_lbl.txt" ]; then echo "# Explicit variable declarations" >> $1_abg.m grep '^[\s]*[%|#][V|P]AR' $1_lbl.txt | tr '%' '#' >> $1_abg.m grep '^[\s]*[%|#]NOT[V|P]AR' $1_lbl.txt | tr '%' '#' >> $1_abg.m fi ## Close off the function echo "endfunction" >> $1_abg.m ## Errors and info if [ "$info" = "info" ]; then |
︙ | ︙ |