aboutsummaryrefslogtreecommitdiffstats
path: root/liblangutil/ParserBase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'liblangutil/ParserBase.cpp')
-rw-r--r--liblangutil/ParserBase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/liblangutil/ParserBase.cpp b/liblangutil/ParserBase.cpp
index 8156f9b9..c103475a 100644
--- a/liblangutil/ParserBase.cpp
+++ b/liblangutil/ParserBase.cpp
@@ -105,10 +105,10 @@ void ParserBase::decreaseRecursionDepth()
void ParserBase::parserError(string const& _description)
{
- m_errorReporter.parserError(SourceLocation(position(), endPosition(), sourceName()), _description);
+ m_errorReporter.parserError(SourceLocation(position(), endPosition(), source()), _description);
}
void ParserBase::fatalParserError(string const& _description)
{
- m_errorReporter.fatalParserError(SourceLocation(position(), endPosition(), sourceName()), _description);
+ m_errorReporter.fatalParserError(SourceLocation(position(), endPosition(), source()), _description);
}