summaryrefslogtreecommitdiffstats
path: root/vhdlparser/ErrorHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'vhdlparser/ErrorHandler.h')
-rw-r--r--vhdlparser/ErrorHandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vhdlparser/ErrorHandler.h b/vhdlparser/ErrorHandler.h
index d5535e8..cd63e9e 100644
--- a/vhdlparser/ErrorHandler.h
+++ b/vhdlparser/ErrorHandler.h
@@ -32,7 +32,7 @@ JJSimpleString addUnicodeEscapes(const JJString& 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 occurrs.
+ // production - the production in which this error occurs.
virtual void handleParseError(Token *last, Token *unexpected, const JJSimpleString& 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());