You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdesdk/poxml/antlr/antlr/TokenStreamRecognitionExcep...

22 lines
569 B

#ifndef INC_TokenStreamRecognitionException_hpp__
#define INC_TokenStreamRecognitionException_hpp__
#include "antlr/config.hpp"
#include "antlr/TokenStreamException.hpp"
#include <exception>
ANTLR_BEGIN_NAMESPACE(antlr)
class TokenStreamRecognitionException : public TokenStreamException {
public:
RecognitionException recog;
TokenStreamRecognitionException(RecognitionException& re)
: TokenStreamException(re.getMessage()), recog(re) {}
~TokenStreamRecognitionException() throw() {}
};
ANTLR_END_NAMESPACE
#endif //INC_TokenStreamRecognitionException_hpp__