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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: unexpanded macros in comments |
From: | Andrew Johnson <[email protected]> |
To: | Gasper Pajor <[email protected]> |
Cc: | EPICS tech-talk <[email protected]> |
Date: | Tue, 30 Jan 2007 11:52:45 -0600 |
I don't expect to find a lot of new EPICS issues these days, so I didn't request a mantis account, although it would be a proper way to file a bug :)
Anyway, when starting an IOC (epics 3.14.x on linux) with a template file that has unexpanded macros in comments (i.e. in lines beginning with '#'), the errors are printed to IOC console:
## Load record instances dbLoadRecords("db/dbExample1.db","user=gpajor") macLib: macro somemacro is undefined (expanding string # $(somemacro) ) filename="../dbLexRoutines.c" line number=317 macExpandString failed for file db/dbExample1.db
I think the macro expanding mechanism should disregard the comment lines.
record($(type),"$(name)"){ field($(field)) }
- Andrew -- The right to be heard does not automatically include the right to be taken seriously. -- Hubert H. Humphrey