Overview
Comment:Changed the name regexp to be at least 3 characters long
- avoids problem translating som state files - but needs more work
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: f5a07fd9dfdcb91f7af195f7fbfd05fbf7faa5e4576f41414bf09f342da15d83
User & Date: gawthrop@users.sourceforge.net on 2000-11-10 09:29:31
Other Links: branch diff | manifest | tags
Context
2000-11-10
09:38:30
Got rid of sys_name functions with no () check-in: 413c080bd3 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:29:31
Changed the name regexp to be at least 3 characters long
- avoids problem translating som state files - but needs more work
check-in: f5a07fd9df user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2000-11-09
17:19:52
Geraint's pow() mods check-in: e178bab805 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/mtt_m2p from [c108ef60ed] to [5b7619d9cf].

11
12
13
14
15
16
17



18
19
20
21
22
23
24
# Copyright (c) P.J.Gawthrop 1998

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



## Revision 1.57  2000/10/15 10:35:35  peterg
## Fixed _input.p header
##
## Revision 1.56  2000/10/14 09:14:24  peterg
## *** empty log message ***
##
## Revision 1.55  2000/10/11 09:06:17  peterg







>
>
>







11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright (c) P.J.Gawthrop 1998

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.58  2000/10/17 09:54:29  peterg
## replaced switchopen by logic
##
## Revision 1.57  2000/10/15 10:35:35  peterg
## Fixed _input.p header
##
## Revision 1.56  2000/10/14 09:14:24  peterg
## *** empty log message ***
##
## Revision 1.55  2000/10/11 09:06:17  peterg
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383

{*** System $Sys, rep $rep, language Pascal, file $Filename ***}
{*** Translated by MTT from $Sys_rep.m on `date` ***}

EOF

# Regexps
  name="[a-zA-Z0-9_]*"
  fun_name="$Sys\_$name"
  mttfun_name=$name
  tab='	'
  space="[ $tab]*"
  spaces="[ $tab][ $tab]*"
  non_space="[^ ]*"
  args='[a-zA-Z0-9,._"]*'







|







372
373
374
375
376
377
378
379
380
381
382
383
384
385
386

{*** System $Sys, rep $rep, language Pascal, file $Filename ***}
{*** Translated by MTT from $Sys_rep.m on `date` ***}

EOF

# Regexps
  name="[a-zA-Z0-9_][a-zA-Z0-9_][a-zA-Z0-9_]*"
  fun_name="$Sys\_$name"
  mttfun_name=$name
  tab='	'
  space="[ $tab]*"
  spaces="[ $tab][ $tab]*"
  non_space="[^ ]*"
  args='[a-zA-Z0-9,._"]*'


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