summaryrefslogtreecommitdiffstats
path: root/vhdlparser/ErrorHandler.h
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-10-28 18:50:38 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-10-28 18:50:38 (GMT)
commitad9be5fb2339151f1d75a6c9aba4226e48a81ae1 (patch)
treeddcb2d2fd8680f45fc91acf991a36a53eed84a5c /vhdlparser/ErrorHandler.h
parent53ec4dddd1f8432b2349c034835f119bb6a93434 (diff)
downloadDoxygen-ad9be5fb2339151f1d75a6c9aba4226e48a81ae1.zip
Doxygen-ad9be5fb2339151f1d75a6c9aba4226e48a81ae1.tar.gz
Doxygen-ad9be5fb2339151f1d75a6c9aba4226e48a81ae1.tar.bz2
Update generated code to javacc 6.2
Diffstat (limited to 'vhdlparser/ErrorHandler.h')
-rw-r--r--vhdlparser/ErrorHandler.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/vhdlparser/ErrorHandler.h b/vhdlparser/ErrorHandler.h
index 7500a5f..9f7dc07 100644
--- a/vhdlparser/ErrorHandler.h
+++ b/vhdlparser/ErrorHandler.h
@@ -1,7 +1,8 @@
-/* Generated By:JavaCC: Do not edit this line. ErrorHandler.h Version 6.0 */
+/* Generated By:JavaCC: Do not edit this line. ErrorHandler.h Version 6.2 */
/* JavaCCOptions:STATIC=false,SUPPORT_CLASS_VISIBILITY_PUBLIC=true,BUILD_PARSER=true,BUILD_TOKEN_MANAGER=true */
#ifndef ERRORHANDLER_H
#define ERRORHANDLER_H
+#include <stdio.h>
#include <string>
#include "JavaCC.h"
#include "Token.h"
@@ -30,7 +31,7 @@ JAVACC_SIMPLE_STRING addUnicodeEscapes(JAVACC_STRING_TYPE str);
// Called when the parser cannot continue parsing.
// last - the last token successfully parsed.
// unexpected - the token at which the error occurs.
- // production - the production in which this error occurs.
+ // production - the production in which this error occurrs.
virtual void handleParseError(Token *last, Token *unexpected, JAVACC_SIMPLE_STRING production, VhdlParser *parser) {
error_count++;
fprintf(stderr, "Encountered: %s at: %d:%d while parsing: %s\n", addUnicodeEscapes(unexpected->image).c_str(), unexpected->beginLine, unexpected->beginColumn, production.c_str());
@@ -75,4 +76,4 @@ JAVACC_SIMPLE_STRING addUnicodeEscapes(JAVACC_STRING_TYPE str);
}
#endif
-/* JavaCC - OriginalChecksum=685d19cb4cd943b60089f599e45f23ad (do not edit this line) */
+/* JavaCC - OriginalChecksum=c18f1105ba178be8e21cc9f279f94496 (do not edit this line) */