diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-06-02 18:48:40 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-06-02 18:48:40 +0200 |
commit | 51dc9396d8bd8f0971a59f4e3aa11e8315c394cd (patch) | |
tree | d24a2258506584644e0b74468ac22bbdad9af8ab /cli/runtime-header.cxx | |
parent | ed60746355044dd39acd82b8f42c4d9886914567 (diff) |
Add support for quoting in option file scanner
Diffstat (limited to 'cli/runtime-header.cxx')
-rw-r--r-- | cli/runtime-header.cxx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/cli/runtime-header.cxx b/cli/runtime-header.cxx index f25d64c..5a2905c 100644 --- a/cli/runtime-header.cxx +++ b/cli/runtime-header.cxx @@ -180,6 +180,27 @@ generate_runtime_header (context& ctx) << "private:" << endl << "std::string file_;" << "};"; + + os << "class unmatched_quote: public exception" + << "{" + << "public:" << endl + << "virtual" << endl + << "~unmatched_quote () throw ();" + << endl + << "unmatched_quote (const std::string& argument);" + << endl + << "const std::string&" << endl + << "argument () const;" + << endl + << "virtual void" << endl + << "print (std::ostream&) const;" + << endl + << "virtual const char*" << endl + << "what () const throw ();" + << endl + << "private:" << endl + << "std::string argument_;" + << "};"; } // scanner |