> There is already a library started in base/src/db/dbVarSub.c (or something
> like that.) It is what Jim uses in GDCT.
>
> I am not sure how wonderful it's implementation is. But I stole it for use in
> the new version of BURT that I am working on. [I would like to see it moved
> into libCom.]
I also stole it for another purpose (and made it libDbVarSub.a but libCom is
fine by me).
It works fine but does seem to have problems with empty values and missing
equals signs. It also doesn't permit you to define or re-define macros (all
the definitions are in the init call) which is, I feel, important for some
applications (e.g. you want to include the same file several times but with
different macro translations).
William
- Navigate by Date:
- Prev:
Re: macro substitution John R. Winans
- Next:
EPICS PLC Support Richard J. Sachtschale
- 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: macro substitution John R. Winans
- Next:
Re: macro substitution William Lupton
- 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
|