aboutsummaryrefslogtreecommitdiffstats
path: root/SourceReferenceFormatter.h
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-05-01 00:06:04 +0800
committerLiana Husikyan <liana@ethdev.com>2015-05-04 20:47:38 +0800
commit8b5fa857d7ce68573a763c03a1d064c30cbf9153 (patch)
tree47dd0f6a17c035bdc0d0f3a39da2033cd1b5ee9c /SourceReferenceFormatter.h
parentef26d9611120c5d3c36263a87e907a007e24c8d2 (diff)
downloaddexon-solidity-8b5fa857d7ce68573a763c03a1d064c30cbf9153.tar
dexon-solidity-8b5fa857d7ce68573a763c03a1d064c30cbf9153.tar.gz
dexon-solidity-8b5fa857d7ce68573a763c03a1d064c30cbf9153.tar.bz2
dexon-solidity-8b5fa857d7ce68573a763c03a1d064c30cbf9153.tar.lz
dexon-solidity-8b5fa857d7ce68573a763c03a1d064c30cbf9153.tar.xz
dexon-solidity-8b5fa857d7ce68573a763c03a1d064c30cbf9153.tar.zst
dexon-solidity-8b5fa857d7ce68573a763c03a1d064c30cbf9153.zip
created secondarySoureLocation error type
added additional information to error msgs
Diffstat (limited to 'SourceReferenceFormatter.h')
-rw-r--r--SourceReferenceFormatter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/SourceReferenceFormatter.h b/SourceReferenceFormatter.h
index 304e6a27..43d3882e 100644
--- a/SourceReferenceFormatter.h
+++ b/SourceReferenceFormatter.h
@@ -42,6 +42,8 @@ public:
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);
+private:
+ static void printSourceName(std::ostream& _stream, SourceLocation const& _location, Scanner const& _scanner);
};
}