aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/analysis/ReferencesResolver.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-05-31 18:54:18 +0800
committerchriseth <chris@ethereum.org>2017-06-08 21:52:45 +0800
commitba5ee71b7f7b1ac5d6bc4b3a70dde36b34d20d8e (patch)
treeac09c42a776674936318188a6a9a31c2a742437e /libsolidity/analysis/ReferencesResolver.h
parentb75c7b577583721a853a01a070f5497d702d17f0 (diff)
downloaddexon-solidity-ba5ee71b7f7b1ac5d6bc4b3a70dde36b34d20d8e.tar.gz
dexon-solidity-ba5ee71b7f7b1ac5d6bc4b3a70dde36b34d20d8e.tar.zst
dexon-solidity-ba5ee71b7f7b1ac5d6bc4b3a70dde36b34d20d8e.zip
Generate only single error in inline assembly.
Diffstat (limited to 'libsolidity/analysis/ReferencesResolver.h')
-rw-r--r--libsolidity/analysis/ReferencesResolver.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libsolidity/analysis/ReferencesResolver.h b/libsolidity/analysis/ReferencesResolver.h
index bbde19f9..fef2e73f 100644
--- a/libsolidity/analysis/ReferencesResolver.h
+++ b/libsolidity/analysis/ReferencesResolver.h
@@ -75,10 +75,13 @@ private:
/// Adds a new error to the list of errors.
void typeError(SourceLocation const& _location, std::string const& _description);
- /// Adds a new error to the list of errors and throws to abort type checking.
+ /// Adds a new error to the list of errors and throws to abort reference resolving.
void fatalTypeError(SourceLocation const& _location, std::string const& _description);
- /// Adds a new error to the list of errors and throws to abort type checking.
+ /// Adds a new error to the list of errors.
+ void declarationError(SourceLocation const& _location, std::string const& _description);
+
+ /// Adds a new error to the list of errors and throws to abort reference resolving.
void fatalDeclarationError(SourceLocation const& _location, std::string const& _description);
ErrorReporter& m_errorReporter;