diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-24 00:14:59 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-25 00:16:22 +0800 |
commit | 1891020ffb7d91b7eca4f69cc65e3722d6920361 (patch) | |
tree | c120bea18512e313f9f97fb0500e292a1b3f0fe8 /ASTPrinter.cpp | |
parent | 38cb123a82dfa0d77c7eb629dfb9307463548a12 (diff) | |
download | dexon-solidity-1891020ffb7d91b7eca4f69cc65e3722d6920361.tar dexon-solidity-1891020ffb7d91b7eca4f69cc65e3722d6920361.tar.gz dexon-solidity-1891020ffb7d91b7eca4f69cc65e3722d6920361.tar.bz2 dexon-solidity-1891020ffb7d91b7eca4f69cc65e3722d6920361.tar.lz dexon-solidity-1891020ffb7d91b7eca4f69cc65e3722d6920361.tar.xz 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 'ASTPrinter.cpp')
-rw-r--r-- | ASTPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ASTPrinter.cpp b/ASTPrinter.cpp index 5bcc46df..d0b27b31 100644 --- a/ASTPrinter.cpp +++ b/ASTPrinter.cpp @@ -555,7 +555,7 @@ void ASTPrinter::printSourcePart(ASTNode const& _node) { if (!m_source.empty()) { - Location const& location(_node.getLocation()); + SourceLocation const& location(_node.getLocation()); *m_ostream << getIndentation() << " Source: " << escaped(m_source.substr(location.start, location.end - location.start), false) << endl; } |