Overview
Comment:Now strips comments
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 48ad75d024a520215e03760efefedb2fdc06e6d755f3d601e44fa26290e74793
User & Date: gawthrop@users.sourceforge.net on 1998-07-26 10:48:18
Other Links: branch diff | manifest | tags
Context
1998-07-26
10:50:30
Corrected bug. check-in: 644a447095 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
10:48:18
Now strips comments check-in: 48ad75d024 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
10:44:08
Now strips comment lines first check-in: 5627a17b7c user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/sympar2global_txt2lang from [d0a4142906] to [6f41c2eb70].

12
13
14
15
16
17
18



19
20
21
22
23
24
25


###############################################################
## Version control history
###############################################################
## $Id$
## $Log$



## Revision 1.1  1998/06/15 15:24:33  peterg
## Initial revision
##
###############################################################

# Set up language stuff.
language=$2







>
>
>







12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28


###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.2  1998/07/25 18:49:00  peterg
## Now uses extended sympars -- sympar + switches
##
## Revision 1.1  1998/06/15 15:24:33  peterg
## Initial revision
##
###############################################################

# Set up language stuff.
language=$2
45
46
47
48
49
50
51

52
53
54
55
56
57
58

$Lc====== Set up the global variables ======$Rc
EOF
# Matlab bit
#Write out the variables in matlab global format
if [ "$language" = "m" ]; then


awk '
BEGIN{
  var = "foobar";
  print "global ..."
}
{i++; print tolower($1), "..."; var = $1}
END{







>







48
49
50
51
52
53
54
55
56
57
58
59
60
61
62

$Lc====== Set up the global variables ======$Rc
EOF
# Matlab bit
#Write out the variables in matlab global format
if [ "$language" = "m" ]; then

strip_comments <$1_sympars.txt  |\
awk '
BEGIN{
  var = "foobar";
  print "global ..."
}
{i++; print tolower($1), "..."; var = $1}
END{


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