mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
check for empty word/expression in keyType and wordRe IO
This commit is contained in:
@ -55,7 +55,7 @@ Foam::Istream& Foam::operator>>(Istream& is, string& s)
|
||||
{
|
||||
is.setBad();
|
||||
FatalIOErrorIn("operator>>(Istream&, string&)", is)
|
||||
<< "wrong token type - expected string found " << t.info()
|
||||
<< "wrong token type - expected string, found " << t.info()
|
||||
<< exit(FatalIOError);
|
||||
|
||||
return is;
|
||||
|
||||
Reference in New Issue
Block a user