Renamed method to »logWarning.«
This commit is contained in:
@@ -71,7 +71,7 @@ std::unique_ptr<Derived> NAry<Derived>::parse(Context &context,
|
||||
}
|
||||
|
||||
if (expression->m_arguments.empty())
|
||||
context.logger.parserWarning(context.parser, "“" + Derived::Identifier + "” expressions should not be empty");
|
||||
context.logger.logWarning(context.parser, "“" + Derived::Identifier + "” expressions should not be empty");
|
||||
|
||||
parser.expect<std::string>(")");
|
||||
|
||||
|
@@ -40,7 +40,7 @@ class Logger
|
||||
|
||||
void logError(const std::string &message);
|
||||
void logError(const Parser::Coordinate &coordinate, const std::string &message);
|
||||
void parserWarning(const Parser &parser, const std::string &message);
|
||||
void logWarning(const Parser &parser, const std::string &message);
|
||||
|
||||
private:
|
||||
WarningLevel m_warningLevel;
|
||||
|
Reference in New Issue
Block a user