diff options
Diffstat (limited to 'cli/options.hxx')
-rw-r--r-- | cli/options.hxx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/cli/options.hxx b/cli/options.hxx index e17a7d3..2c60c83 100644 --- a/cli/options.hxx +++ b/cli/options.hxx @@ -166,6 +166,27 @@ namespace cli std::string file_; }; + class unmatched_quote: public exception + { + public: + virtual + ~unmatched_quote () throw (); + + unmatched_quote (const std::string& argument); + + const std::string& + argument () const; + + virtual void + print (std::ostream&) const; + + virtual const char* + what () const throw (); + + private: + std::string argument_; + }; + class scanner { public: |