mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
added file/line diagnostics when functionEntry fails
- got hit by spacing error and it took too long to pinpoint the problem: #include "XXX" <- okay # include "XXX" <- wrong!
This commit is contained in:
@ -81,7 +81,8 @@ bool Foam::functionEntry::execute
|
||||
(
|
||||
"functionEntry::execute"
|
||||
"(const word& functionName, dictionary& parentDict, Istream&)"
|
||||
) << "Unknown functionEntry " << functionName
|
||||
) << "Unknown functionEntry '" << functionName
|
||||
<< "' in " << is.name() << " near line " << is.lineNumber()
|
||||
<< endl << endl
|
||||
<< "Valid functionEntries are :" << endl
|
||||
<< executedictionaryIstreamMemberFunctionTablePtr_->toc()
|
||||
@ -126,7 +127,8 @@ bool Foam::functionEntry::execute
|
||||
(
|
||||
"functionEntry::execute"
|
||||
"(const word&, const dictionary&, primitiveEntry&, Istream&)"
|
||||
) << "Unknown functionEntry " << functionName
|
||||
) << "Unknown functionEntry '" << functionName
|
||||
<< "' in " << is.name() << " near line " << is.lineNumber()
|
||||
<< endl << endl
|
||||
<< "Valid functionEntries are :" << endl
|
||||
<< executeprimitiveEntryIstreamMemberFunctionTablePtr_->toc()
|
||||
|
||||
Reference in New Issue
Block a user