Remove dedicated error flags from DocStringParser and DocStringAnalyser

This commit is contained in:
a3d4
2020-05-20 04:17:49 +02:00
parent 6dbf23d52a
commit 6bb177ce77
4 changed files with 5 additions and 14 deletions
+1 -3
View File
@@ -37,8 +37,7 @@ class DocStringParser
{
public:
/// Parse the given @a _docString and stores the parsed components internally.
/// @returns false on error and appends the error to @a _errors.
bool parse(std::string const& _docString, langutil::ErrorReporter& _errorReporter);
void parse(std::string const& _docString, langutil::ErrorReporter& _errorReporter);
std::multimap<std::string, DocTag> const& tags() const { return m_docTags; }
@@ -65,7 +64,6 @@ private:
std::multimap<std::string, DocTag> m_docTags;
DocTag* m_lastTag = nullptr;
langutil::ErrorReporter* m_errorReporter = nullptr;
bool m_errorsOccurred = false;
};
}