diff options
Diffstat (limited to 'lib/antlr/antlr/CharStreamException.h')
-rw-r--r-- | lib/antlr/antlr/CharStreamException.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/antlr/antlr/CharStreamException.h b/lib/antlr/antlr/CharStreamException.h new file mode 100644 index 00000000..291593f2 --- /dev/null +++ b/lib/antlr/antlr/CharStreamException.h @@ -0,0 +1,29 @@ +#ifndef INC_CharStreamException_h__ +#define INC_CharStreamException_h__ + +/* ANTLR Translator Generator + * Project led by Terence Parr at http://www.jGuru.com + * Software rights: http://www.antlr.org/license.html + * + * $Id$ + */ + +#include <antlr/config.h> +#include <antlr/ANTLRException.h> + +#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE +namespace antlr { +#endif + +class ANTLR_API CharStreamException : public ANTLRException { +public: + CharStreamException(const ANTLR_USE_NAMESPACE(std)string& s) + : ANTLRException(s) {} + ~CharStreamException() throw() {} +}; + +#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE +} +#endif + +#endif //INC_CharStreamException_h__ |