scandsp/src/dspparser.cxx
// ===========================================================================
// Checks whether the overriding cfg setting was valid.
//
Checks whether the overriding cfg setting was valid.
Checks whether the overriding cfg setting was valid .
void DSPParser::checkOverridingCfg(const string &file)
{
    if (cfg != NULL && !cfgValidated) {
	msg("The configuration \"$1\" was not found in $2.", warning_sev)
            << *cfg << eoarg << file << eoarg << eom;
    }
    if (cfgUsed == NULL) {
	msg("No CFG used with $1.", warning_sev) << file << eoarg << eom;
    }
    else if (cfgUsed == cfg) {
	msg("Used CFG \"$1\" from workspace, for $2.", normal_sev)
	    << *cfg << eoarg << file << eoarg << eom;
    }
    else {
	msg("Used CFG \"$1\" as defined in $2.", normal_sev)
	    << *cfgUsed << eoarg << file << eoarg << eom;
    }
}
void DSPParser :: checkOverridingCfg ( const string & file ) { if ( cfg != NULL && ! cfgValidated ) { msg ( " \" \" " , warning_sev ) << * cfg << eoarg << file << eoarg << eom ; } if ( cfgUsed == NULL ) { msg ( " " , warning_sev ) << file << eoarg << eom ; } else if ( cfgUsed == cfg ) { msg ( " \" \" " , normal_sev ) << * cfg << eoarg << file << eoarg << eom ; } else { msg ( " \" \" " , normal_sev ) << * cfgUsed << eoarg << file << eoarg << eom ; } }
Checks whether the overriding cfg setting was valid.
Checks whether the overriding cfg setting was valid .