fixed warrning

This commit is contained in:
Liana Husikyan 2015-05-04 15:03:15 +02:00
parent 0d47ed82b1
commit 10c3d76555

View File

@ -95,7 +95,7 @@ void SourceReferenceFormatter::printExceptionInformation(ostream& _stream,
if (location)
{
solAssert(scanner, "");
scanner = &_compiler.getScanner(*location->sourceName);
printSourceLocation(_stream, *location, *scanner);
}