pvif: used alias'd record name
This commit is contained in:
@ -3,6 +3,7 @@ record(ai, "$(P)target") {}
|
|||||||
# local input link shorthand
|
# local input link shorthand
|
||||||
record(longin, "$(P)inp1") {
|
record(longin, "$(P)inp1") {
|
||||||
field(INP , {pva:"$(P)target"})
|
field(INP , {pva:"$(P)target"})
|
||||||
|
alias("$(P)inp1:alias")
|
||||||
}
|
}
|
||||||
|
|
||||||
# local input link longhand
|
# local input link longhand
|
||||||
|
@ -199,9 +199,9 @@ struct PDBProcessor
|
|||||||
GroupConfig conf;
|
GroupConfig conf;
|
||||||
GroupConfig::parse(json, conf);
|
GroupConfig::parse(json, conf);
|
||||||
if(!conf.warning.empty())
|
if(!conf.warning.empty())
|
||||||
fprintf(stderr, "%s: warning(s) from info(Q:group, ...\n%s", rec.record()->name, conf.warning.c_str());
|
fprintf(stderr, "%s: warning(s) from info(Q:group, ...\n%s", rec.name(), conf.warning.c_str());
|
||||||
|
|
||||||
recbase = rec.record()->name;
|
recbase = rec.name();
|
||||||
recbase += ".";
|
recbase += ".";
|
||||||
|
|
||||||
for(GroupConfig::groups_t::const_iterator git=conf.groups.begin(), gend=conf.groups.end();
|
for(GroupConfig::groups_t::const_iterator git=conf.groups.begin(), gend=conf.groups.end();
|
||||||
|
@ -149,7 +149,7 @@ struct pdbRecordIterator {
|
|||||||
return m_done ? NULL : (dbCommon*)ent.precnode->precord;
|
return m_done ? NULL : (dbCommon*)ent.precnode->precord;
|
||||||
}
|
}
|
||||||
const char *name() const {
|
const char *name() const {
|
||||||
return m_done ? NULL : ((dbCommon*)ent.precnode->precord)->name;
|
return m_done ? NULL : ent.precnode->recordname;
|
||||||
}
|
}
|
||||||
const char *info(const char *key, const char *def =0)
|
const char *info(const char *key, const char *def =0)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user