On Mittwoch, 25. August 2010, Andrew Johnson wrote:
> You're right, these should all be valid:
>
> file xyz { pattern {} } - No insertion
> file xyz { pattern {} {} } - Insert xyz
> file xyz { pattern {x} } - No insertion
> file xyz { pattern {x} {} } - Insert xyz, x inherits or is undefined
> file xyz { pattern {x} {1} } - Insert xyz, x=1
>
> However this should result in a warning message, which I added to
> dbLoadTemplate yesterday:
>
> file xyz { pattern {} {1} }
I would say this is an error.
More generally speaking, the number of pattern-values should always be equal
to the number of pattern-names. Of course, this goes beyond what we can
specify with a context free grammar, so it must be stated (and checked)
separately.
Cheers
Ben
- Replies:
- Re: msi again Andrew Johnson
- References:
- msi again Benjamin Franksen
- Re: msi again Benjamin Franksen
- Re: msi again Andrew Johnson
- Navigate by Date:
- Prev:
position available at APS in BCDA group Pete Jemian
- Next:
Re: dbGetSevr on epics 3.14.11 Ralph Lange
- 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:
Re: msi again Andrew Johnson
- Next:
Re: msi again 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
|