Overview
Comment:\. \# \% all gave \ removed to avoid warning in new gawk
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: e62995de265f018ca89a30e8131a4d10f784ce382690d96e2bcf88787ba80a47
User & Date: gawthrop@users.sourceforge.net on 2002-04-19 09:13:11
Other Links: branch diff | manifest | tags
Context
2002-04-19
09:24:29
2 changes to ode2odes_out generation: only compiles the specified c
file; outside the computation=c clause
check-in: 330df0a125 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:13:11
\. \# \% all gave \ removed to avoid warning in new gawk check-in: e62995de26 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:39:45
Changed \# to # and \% to # to avoid warning in latest gawk version check-in: 50847c8a89 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/mtt_p2m from [2649f1483b] to [2ad4e8ad5c].

9
10
11
12
13
14
15
16

17
18
19
20
21
22
23
9
10
11
12
13
14
15

16
17
18
19
20
21
22
23







-
+







sed 's/:=/ = /' |\
sed 's/\*\*/\^/g' |\
sed 's/mtt\([a-z]\)\([a-z]*\)\([0-9]\)\([0-9]*\)/mtt\1\2(\3\4)/g' |\
awk '{
  sub(/^[\ ]*/, "", $0)
  sub(/\$$/, ";", $0)
  
  if (match($NF,"[;\#\.\%]$")==0){
  if (match($NF,"[;#.%]$")==0){
    Previous[++i] = $0
  }
  else {
    for (j=1;j<=i;j++) printf("%s", Previous[j]);
    printf("%s\n", $0) 
    i=0;
  }


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