mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Consts in SourceReferenceFormatter.
This commit is contained in:
parent
e8b18e95ce
commit
9e120d4585
@ -61,7 +61,7 @@ void SourceReferenceFormatter::printSourceLocation(ostream& _stream,
|
|||||||
void SourceReferenceFormatter::printExceptionInformation(ostream& _stream,
|
void SourceReferenceFormatter::printExceptionInformation(ostream& _stream,
|
||||||
Exception const& _exception,
|
Exception const& _exception,
|
||||||
string const& _name,
|
string const& _name,
|
||||||
CompilerStack& _compiler)
|
CompilerStack const& _compiler)
|
||||||
{
|
{
|
||||||
Location const* location = boost::get_error_info<errinfo_sourceLocation>(_exception);
|
Location const* location = boost::get_error_info<errinfo_sourceLocation>(_exception);
|
||||||
Scanner const* scanner;
|
Scanner const* scanner;
|
||||||
|
@ -41,7 +41,7 @@ struct SourceReferenceFormatter
|
|||||||
public:
|
public:
|
||||||
static void printSourceLocation(std::ostream& _stream, Location const& _location, Scanner const& _scanner);
|
static void printSourceLocation(std::ostream& _stream, Location const& _location, Scanner const& _scanner);
|
||||||
static void printExceptionInformation(std::ostream& _stream, Exception const& _exception,
|
static void printExceptionInformation(std::ostream& _stream, Exception const& _exception,
|
||||||
std::string const& _name, CompilerStack& _compiler);
|
std::string const& _name, CompilerStack const& _compiler);
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user