summaryrefslogtreecommitdiff
path: root/src/parse/parseerror.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/parseerror.cpp')
-rw-r--r--src/parse/parseerror.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/parse/parseerror.cpp b/src/parse/parseerror.cpp
index b0674c07..e5385257 100644
--- a/src/parse/parseerror.cpp
+++ b/src/parse/parseerror.cpp
@@ -12,6 +12,10 @@ ParseError::Generic::Generic(::std::string message):
{
::std::cout << "Generic(" << message << ")" << ::std::endl;
}
+ParseError::Generic::Generic(const TokenStream& lex, ::std::string message)
+{
+ ::std::cout << lex.getPosition() << ": Generic(" << message << ")" << ::std::endl;
+}
ParseError::BugCheck::BugCheck(::std::string message):
m_message(message)