mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
MRG: resolved merge conflicts from merge from develop branch
This commit is contained in:
@ -24,7 +24,7 @@ License
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#include "doxygenXmlParser.H"
|
||||
#include "wordRe.H"
|
||||
#include "regExp.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
@ -40,8 +40,8 @@ Foam::doxygenXmlParser::doxygenXmlParser
|
||||
dictionary(dictionary::null)
|
||||
{
|
||||
// Pre-construct and compile regular expressions
|
||||
const wordRe nameRe(".*.H", wordRe::DETECT);
|
||||
const wordRe searchStrRe(searchStr, wordRe::DETECT);
|
||||
const regExp nameRe(".*.H");
|
||||
const regExp searchStrRe(searchStr);
|
||||
|
||||
// Pre-construct constant strings and names to speed-up comparisons
|
||||
const string slashStartTag('/' + startTag);
|
||||
@ -163,7 +163,7 @@ Foam::doxygenXmlParser::doxygenXmlParser
|
||||
(
|
||||
!exactMatch
|
||||
&& !found(tName) // not already added
|
||||
&& wordRe(".*" + tName + ".*", wordRe::DETECT).match(name)
|
||||
&& regExp(".*" + tName + ".*").match(name)
|
||||
)
|
||||
{
|
||||
dictionary dict(dictionary::null);
|
||||
|
||||
@ -37,7 +37,7 @@ Foam::autoPtr<Foam::helpType> Foam::helpType::New
|
||||
dictionaryConstructorTable::iterator cstrIter =
|
||||
dictionaryConstructorTablePtr_->find(helpTypeName);
|
||||
|
||||
if (cstrIter == dictionaryConstructorTablePtr_->end())
|
||||
if (!cstrIter.found())
|
||||
{
|
||||
// special treatment for -help
|
||||
// exit without stack trace
|
||||
|
||||
Reference in New Issue
Block a user