diff options
author | Christian <c@ethdev.com> | 2014-12-04 01:52:28 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2014-12-04 01:52:28 +0800 |
commit | d2cf34548322598ae067434a61a171bd190fc2c9 (patch) | |
tree | 9f89db707b8435f4774aea1115249e076fb37b74 /SourceReferenceFormatter.h | |
parent | 254df50feab6bb4c9f013257591b73919e4013a5 (diff) | |
download | dexon-solidity-d2cf34548322598ae067434a61a171bd190fc2c9.tar.gz dexon-solidity-d2cf34548322598ae067434a61a171bd190fc2c9.tar.zst dexon-solidity-d2cf34548322598ae067434a61a171bd190fc2c9.zip |
Improved external interface for multi-source and multi-contract compilation.
Diffstat (limited to 'SourceReferenceFormatter.h')
-rw-r--r-- | SourceReferenceFormatter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SourceReferenceFormatter.h b/SourceReferenceFormatter.h index 4736066f..9b556704 100644 --- a/SourceReferenceFormatter.h +++ b/SourceReferenceFormatter.h @@ -34,14 +34,14 @@ namespace solidity { class Scanner; // forward +class CompilerStack; // forward struct SourceReferenceFormatter { public: static void printSourceLocation(std::ostream& _stream, Location const& _location, Scanner const& _scanner); - static void printSourcePosition(std::ostream& _stream, int _position, Scanner const& _scanner); static void printExceptionInformation(std::ostream& _stream, Exception const& _exception, - std::string const& _name, Scanner const& _scanner); + std::string const& _name, CompilerStack& _compiler); }; } |