move wrong_argument_count to commands.cc, where it is used
This commit is contained in:
parent
d1fade5c9e
commit
6bbbd2543a
|
@ -16,10 +16,6 @@ namespace Kakoune
|
||||||
|
|
||||||
struct Context;
|
struct Context;
|
||||||
|
|
||||||
struct wrong_argument_count : runtime_error
|
|
||||||
{
|
|
||||||
wrong_argument_count() : runtime_error("wrong argument count") {}
|
|
||||||
};
|
|
||||||
|
|
||||||
using CommandParameters = memoryview<String>;
|
using CommandParameters = memoryview<String>;
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,11 @@ extern bool quit_requested;
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
|
|
||||||
|
struct wrong_argument_count : runtime_error
|
||||||
|
{
|
||||||
|
wrong_argument_count() : runtime_error("wrong argument count") {}
|
||||||
|
};
|
||||||
|
|
||||||
struct unknown_option : public runtime_error
|
struct unknown_option : public runtime_error
|
||||||
{
|
{
|
||||||
unknown_option(const String& name)
|
unknown_option(const String& name)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user