Hi Dirk,
On 2012-08-22 Dirk Zimoch wrote:
> The dbd file parser does not accept empty strings as initial values:
>
> Syntax error in 'initial()'
> Context: field(PORT, DBF_STRING) in recordtype(asyn) in file
> '../O.Common/streamApp.dbd'
>
> The field in question is:
>
> field(PORT,DBF_STRING) {
> prompt("asyn port")
> promptgroup(GUI_INPUTS)
> special(SPC_MOD)
> interest(1)
> initial("")
> size(40)
> }
>
> The problem lies in lib/perl/DBD/Parser.pm where $string does not accept
> empty strings.
Actually the problem lies in DBD/Output.pm; dbdExpand.pl was not including
quotes when writing out empty field attribute values in the expanded file.
The other DBD file parsers (in dbStaticLib and VDCT) aren't going to accept a
field attribute spelled
initial()
either, it needs to be
initial("")
although in practice this attribute does nothing and can be deleted since an
empty string is the default anyway.
I've just added another patch to the Known Problems page for this.
- Andrew
--
Never interrupt your enemy when he is making a mistake.
-- Napoleon Bonaparte
- References:
- dbd file parser in 3.15 is too strict Dirk Zimoch
- Navigate by Date:
- Prev:
Re: EPICS 3.15 generates strange shared library names Andrew Johnson
- Next:
Re: EPICS Base version 3.15.0.1 released Andrew Johnson
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
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:
dbd file parser in 3.15 is too strict Dirk Zimoch
- Next:
EPICS2012 registration 이은희
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|