1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-01-29 23:38:27 +00:00
openmw/components/compiler/nullerrorhandler.hpp

24 lines
566 B
C++

#ifndef COMPILER_NULLERRORHANDLER_H_INCLUDED
#define COMPILER_NULLERRORHANDLER_H_INCLUDED
#include <string>
#include "errorhandler.hpp"
namespace Compiler
{
struct TokenLoc;
/// \brief Error handler implementation: Ignore all error messages
class NullErrorHandler : public ErrorHandler
{
void report(const std::string& message, const TokenLoc& loc, Type type) override;
///< Report error to the user.
void report(const std::string& message, Type type) override;
///< Report a file related error
};
}
#endif