diff options
Parsing for inline assembly.
Diffstat (limited to 'libsolidity/interface/SourceReferenceFormatter.h')
-rw-r--r-- | libsolidity/interface/SourceReferenceFormatter.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libsolidity/interface/SourceReferenceFormatter.h b/libsolidity/interface/SourceReferenceFormatter.h index dd258c27..1fc42753 100644 --- a/libsolidity/interface/SourceReferenceFormatter.h +++ b/libsolidity/interface/SourceReferenceFormatter.h @@ -23,6 +23,7 @@ #pragma once #include <ostream> +#include <functional> #include <libevmasm/SourceLocation.h> namespace dev @@ -44,7 +45,7 @@ public: std::ostream& _stream, Exception const& _exception, std::string const& _name, - CompilerStack const& _compiler + std::function<Scanner const&(std::string const&)> const& _scannerFromSourceName ); private: static void printSourceName(std::ostream& _stream, SourceLocation const& _location, Scanner const& _scanner); |