aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2016-09-08 02:05:30 +0800
committerGitHub <noreply@github.com>2016-09-08 02:05:30 +0800
commitce11580988b6aae22845fbebfb09eb9c3881b250 (patch)
tree8444a9a331ea0524cd56c42491bedffc73101276 /libsolidity
parentf4172d342a36574f604be6e1bf2b2edb9c2526e7 (diff)
parentc9b23d9829b745ece900efa05df30bc6aa3776e3 (diff)
downloaddexon-solidity-ce11580988b6aae22845fbebfb09eb9c3881b250.tar
dexon-solidity-ce11580988b6aae22845fbebfb09eb9c3881b250.tar.gz
dexon-solidity-ce11580988b6aae22845fbebfb09eb9c3881b250.tar.bz2
dexon-solidity-ce11580988b6aae22845fbebfb09eb9c3881b250.tar.lz
dexon-solidity-ce11580988b6aae22845fbebfb09eb9c3881b250.tar.xz
dexon-solidity-ce11580988b6aae22845fbebfb09eb9c3881b250.tar.zst
dexon-solidity-ce11580988b6aae22845fbebfb09eb9c3881b250.zip
Merge pull request #1041 from pirapira/typo_and_whitespace
Fix a typo and a whitespace inconsistency
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/formal/Why3Translator.cpp2
-rw-r--r--libsolidity/formal/Why3Translator.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/formal/Why3Translator.cpp b/libsolidity/formal/Why3Translator.cpp
index e16c41ab..834024fa 100644
--- a/libsolidity/formal/Why3Translator.cpp
+++ b/libsolidity/formal/Why3Translator.cpp
@@ -683,7 +683,7 @@ bool Why3Translator::visit(Literal const& _literal)
else
add("(of_int " + toString(type->literalValue(&_literal)) + ")");
break;
- }
+ }
default:
error(_literal, "Not supported.");
}
diff --git a/libsolidity/formal/Why3Translator.h b/libsolidity/formal/Why3Translator.h
index 46601f89..1b80ed61 100644
--- a/libsolidity/formal/Why3Translator.h
+++ b/libsolidity/formal/Why3Translator.h
@@ -108,7 +108,7 @@ private:
/// @returns a string representing an expression that is a copy of this.storage
std::string copyOfStorage() const;
- /// Visits the givin statement and indents it unless it is a block
+ /// Visits the given statement and indents it unless it is a block
/// (which does its own indentation).
void visitIndentedUnlessBlock(Statement const& _statement);