// runtime_error.hpp
|
// Copyright (c) 2007-2009 Ben Hanson (http://www.benhanson.net/)
|
//
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// file licence_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
#ifndef BOOST_SPIRIT_SUPPORT_DETAIL_LEXER_RUNTIME_ERROR_HPP
|
#define BOOST_SPIRIT_SUPPORT_DETAIL_LEXER_RUNTIME_ERROR_HPP
|
|
#include <boost/config.hpp> // for BOOST_SYMBOL_VISIBLE
|
#include <stdexcept>
|
|
namespace boost
|
{
|
namespace lexer
|
{
|
class BOOST_SYMBOL_VISIBLE runtime_error : public std::runtime_error
|
{
|
public:
|
runtime_error (const std::string &what_arg_) :
|
std::runtime_error (what_arg_)
|
{
|
}
|
};
|
}
|
}
|
|
#endif
|