mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-12 16:26:23 +00:00
reading particle position from file for partilclesPhasicFlow
This commit is contained in:
@ -69,7 +69,7 @@ pFlow::ioErrorMessage(
|
||||
)
|
||||
{
|
||||
errorStream << "\n>>> Fatal IO file error\n"
|
||||
<< " IO error at number " << Red_Text(fileLineNumber)
|
||||
<< " IO error at number " << Red_Text(fileLineNumber+1)
|
||||
<< " of file " << Red_Text(fileName) << '\n';
|
||||
errorStream << " IO operation is peformed from function "
|
||||
<< Red_Text(fnName) << " in file " << Red_Text(fName)
|
||||
|
@ -356,7 +356,7 @@ public:
|
||||
/// Token is WORD, DIRECTIVE, STRING, VARIABLE or VERBATIM
|
||||
inline bool isStringType() const;
|
||||
|
||||
|
||||
inline bool isComma()const;
|
||||
//- Access
|
||||
|
||||
/// Return boolean token value.
|
||||
|
@ -673,6 +673,13 @@ inline bool pFlow::token::isStringType() const
|
||||
return (isWord() || isString());
|
||||
}
|
||||
|
||||
inline bool pFlow::token::isComma()const
|
||||
{
|
||||
if( type_ == tokenType::PUNCTUATION &&
|
||||
pToken() == punctuationToken::COMMA) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
inline void pFlow::token::setBad()
|
||||
{
|
||||
reset();
|
||||
|
Reference in New Issue
Block a user