aboutsummaryrefslogtreecommitdiffstats
path: root/SourceReferenceFormatter.h
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-02-24 00:14:59 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-02-25 00:16:22 +0800
commit1891020ffb7d91b7eca4f69cc65e3722d6920361 (patch)
treec120bea18512e313f9f97fb0500e292a1b3f0fe8 /SourceReferenceFormatter.h
parent38cb123a82dfa0d77c7eb629dfb9307463548a12 (diff)
downloaddexon-solidity-1891020ffb7d91b7eca4f69cc65e3722d6920361.tar.gz
dexon-solidity-1891020ffb7d91b7eca4f69cc65e3722d6920361.tar.zst
dexon-solidity-1891020ffb7d91b7eca4f69cc65e3722d6920361.zip
Moving Source Location libdevcore
- Big plus is we now remove the useless header libsolibity/BaseTypes.h
Diffstat (limited to 'SourceReferenceFormatter.h')
-rw-r--r--SourceReferenceFormatter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/SourceReferenceFormatter.h b/SourceReferenceFormatter.h
index 98f1c745..337e6065 100644
--- a/SourceReferenceFormatter.h
+++ b/SourceReferenceFormatter.h
@@ -23,7 +23,7 @@
#pragma once
#include <ostream>
-#include <libsolidity/BaseTypes.h>
+#include <libdevcore/SourceLocation.h>
namespace dev
{
@@ -39,7 +39,7 @@ class CompilerStack; // forward
struct SourceReferenceFormatter
{
public:
- static void printSourceLocation(std::ostream& _stream, Location const& _location, Scanner const& _scanner);
+ static void printSourceLocation(std::ostream& _stream, SourceLocation const& _location, Scanner const& _scanner);
static void printExceptionInformation(std::ostream& _stream, Exception const& _exception,
std::string const& _name, CompilerStack const& _compiler);
};