aboutsummaryrefslogtreecommitdiffstats
path: root/CommandLineInterface.cpp
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2014-12-17 23:23:18 +0800
committerChristian <c@ethdev.com>2014-12-17 23:24:56 +0800
commit80b8db4f17c838369b4ef45e8ccec856a7f13cc7 (patch)
tree85433e7231c62b05914339b44bf43792db442355 /CommandLineInterface.cpp
parenta6fd19c8f30f3bb46cd66d5ed810017dab95e51c (diff)
downloaddexon-solidity-80b8db4f17c838369b4ef45e8ccec856a7f13cc7.tar
dexon-solidity-80b8db4f17c838369b4ef45e8ccec856a7f13cc7.tar.gz
dexon-solidity-80b8db4f17c838369b4ef45e8ccec856a7f13cc7.tar.bz2
dexon-solidity-80b8db4f17c838369b4ef45e8ccec856a7f13cc7.tar.lz
dexon-solidity-80b8db4f17c838369b4ef45e8ccec856a7f13cc7.tar.xz
dexon-solidity-80b8db4f17c838369b4ef45e8ccec856a7f13cc7.tar.zst
dexon-solidity-80b8db4f17c838369b4ef45e8ccec856a7f13cc7.zip
Assertions that throw InternalCompilerErrors.
Diffstat (limited to 'CommandLineInterface.cpp')
-rw-r--r--CommandLineInterface.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/CommandLineInterface.cpp b/CommandLineInterface.cpp
index 81dd25ec..399f5243 100644
--- a/CommandLineInterface.cpp
+++ b/CommandLineInterface.cpp
@@ -311,7 +311,8 @@ bool CommandLineInterface::processInput()
}
catch (InternalCompilerError const& exception)
{
- SourceReferenceFormatter::printExceptionInformation(cerr, exception, "Internal compiler error", m_compiler);
+ cerr << "Internal compiler error during compilation:" << endl
+ << boost::diagnostic_information(exception);
return false;
}
catch (Exception const& exception)