aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-10-13 18:22:57 +0800
committerchriseth <c@ethdev.com>2015-10-13 18:22:57 +0800
commit13d7bc4ee8effe78dd496064065717af2cbeacc0 (patch)
treef0799621fd7f60388241c48191b09aaba5d751c9 /libsolidity
parentdeebc7e8601185006b74a5ee78b83c50bdf37abc (diff)
downloaddexon-solidity-13d7bc4ee8effe78dd496064065717af2cbeacc0.tar
dexon-solidity-13d7bc4ee8effe78dd496064065717af2cbeacc0.tar.gz
dexon-solidity-13d7bc4ee8effe78dd496064065717af2cbeacc0.tar.bz2
dexon-solidity-13d7bc4ee8effe78dd496064065717af2cbeacc0.tar.lz
dexon-solidity-13d7bc4ee8effe78dd496064065717af2cbeacc0.tar.xz
dexon-solidity-13d7bc4ee8effe78dd496064065717af2cbeacc0.tar.zst
dexon-solidity-13d7bc4ee8effe78dd496064065717af2cbeacc0.zip
Some more tests and typos fixed.
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/ASTAnnotations.h2
-rw-r--r--libsolidity/Types.cpp5
2 files changed, 4 insertions, 3 deletions
diff --git a/libsolidity/ASTAnnotations.h b/libsolidity/ASTAnnotations.h
index 32602628..1b772ffa 100644
--- a/libsolidity/ASTAnnotations.h
+++ b/libsolidity/ASTAnnotations.h
@@ -86,7 +86,7 @@ struct UserDefinedTypeNameAnnotation: TypeNameAnnotation
struct VariableDeclarationStatementAnnotation: ASTAnnotation
{
- /// Information about which component of the vaule is assigned to which variable.
+ /// Information about which component of the value is assigned to which variable.
/// The pointer can be null to signify that the component is discarded.
std::vector<VariableDeclaration const*> assignments;
};
diff --git a/libsolidity/Types.cpp b/libsolidity/Types.cpp
index 3d80a163..c800e288 100644
--- a/libsolidity/Types.cpp
+++ b/libsolidity/Types.cpp
@@ -1244,8 +1244,9 @@ string TupleType::toString(bool _short) const
u256 TupleType::storageSize() const
{
BOOST_THROW_EXCEPTION(
- InternalCompilerError()
- << errinfo_comment("Storage size of non-storable tuple type requested."));
+ InternalCompilerError() <<
+ errinfo_comment("Storage size of non-storable tuple type requested.")
+ );
}
unsigned TupleType::sizeOnStack() const