43 fprintf(
stderr,
"Error: %s\n", (
char*)message.c_str());
67 fprintf(
stderr,
"Lexical error at: %d:%d. Encountered: %c after: %s.\n", errorLine, errorColumn, curChar, (EOFSeen?
"EOF" : (
const char*)errorAfter.c_str()));
70 fprintf(
stderr,
"%s\n", (
char*)errorMessage.c_str());
virtual ~TokenManagerErrorHandler()
virtual void lexicalError(JAVACC_STRING_TYPE errorMessage, VhdlParserTokenManager *token_manager)
#define JAVACC_STRING_TYPE
#define JAVACC_SIMPLE_STRING
virtual int getErrorCount()
virtual void handleUnexpectedToken(int expectedKind, JAVACC_STRING_TYPE expectedToken, Token *actual, VhdlParser *parser)
virtual void handleOtherError(JAVACC_STRING_TYPE message, VhdlParser *parser)
JAVACC_SIMPLE_STRING addUnicodeEscapes(JAVACC_STRING_TYPE str)
virtual void lexicalError(bool EOFSeen, int lexState, int errorLine, int errorColumn, JAVACC_STRING_TYPE errorAfter, JAVACC_CHAR_TYPE curChar, VhdlParserTokenManager *token_manager)
virtual void handleParseError(Token *last, Token *unexpected, JAVACC_SIMPLE_STRING production, VhdlParser *parser)