Experimental Physics and Industrial Control System
Hi Andrew,
I have a family of devices which consist of various building blocks.
Different models of the device are made up from a different mix of these
building blocks (some of which require macros and some don't). I'm
trying to build a .db file for each model by pulling the required bits
and pieces together. In the past I used something like the following:
file "a.db" {
{ }
}
file "b.db" {
pattern
{ MACRO1 }
{ "foo" }
{ "bar" }
}
With EPICS 3.15.6 this doesn't work anymore. I get
msi: Parse error, unexpected '}'
I have to admit that my solution might not be the cleanest approach as
it probably depends on undefined behavior (neither the AppDev guide nor
the MSI website talk about this corner case). I'm wondering if you
consider the change in behavior a bug. I'm able to work around the
problem by using
file "a.db" {
{ DUMMY="" }
}
Is there a better way to solve my problem?
Thanks a lot,
Martin
P.S.: Seems like the following commit changed the behavior:
https://git.launchpad.net/epics-base/commit/?h=3.15&id=67e2b74758982fd46be5529e28fcb93fd7eb59ad
--
Martin Konrad
High Performance Controls Team Leader
Facility for Rare Isotope Beams
Michigan State University
640 South Shaw Lane
East Lansing, MI 48824-1321, USA
Tel. 517-908-7253
Email: [email protected]
- Replies:
- Re: Substitution files: change in behavior between 3.15.3 and 3.15.6 Johnson, Andrew N. via Core-talk
- Navigate by Date:
- Prev:
Jenkins build is back to normal : epics-base-3.16-win32 #225 APS Jenkins
- Next:
Build failed in Jenkins: epics-base-3.16-win64 #235 APS Jenkins via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
<2018>
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Jenkins build is back to normal : epics-base-3.16-win32 #225 APS Jenkins
- Next:
Re: Substitution files: change in behavior between 3.15.3 and 3.15.6 Johnson, Andrew N. via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
<2018>
2019
2020
2021
2022
2023
2024