foamDictionary: Added support for the new dictionary "slash" syntax

Maintains backward compatibility with the current "dot" syntax.
This commit is contained in:
Henry Weller
2019-07-11 19:43:40 +01:00
parent b7c0cdefce
commit 163324d837
3 changed files with 24 additions and 5 deletions

View File

@ -135,4 +135,10 @@ bool Foam::functionEntries::inputSyntaxEntry::dot()
}
char Foam::functionEntries::inputSyntaxEntry::scopeChar()
{
return syntax_ == SLASH ? '/' : '.';
}
// ************************************************************************* //