aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast
diff options
context:
space:
mode:
authorliangdzou <liang.d.zou@gmail.com>2018-09-20 22:54:57 +0800
committerliangdzou <liang.d.zou@gmail.com>2018-09-20 22:54:57 +0800
commit44e8dfd3931f24202ee4a718242451ed990c3ff6 (patch)
tree785c464fbdef10648c79188d93bb5ac2134d6c58 /libsolidity/ast
parent5a473ab6824512512b8642af66759abb34cf3a23 (diff)
downloaddexon-solidity-44e8dfd3931f24202ee4a718242451ed990c3ff6.tar.gz
dexon-solidity-44e8dfd3931f24202ee4a718242451ed990c3ff6.tar.zst
dexon-solidity-44e8dfd3931f24202ee4a718242451ed990c3ff6.zip
fix typo
Diffstat (limited to 'libsolidity/ast')
-rw-r--r--libsolidity/ast/Types.cpp2
-rw-r--r--libsolidity/ast/Types.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/ast/Types.cpp b/libsolidity/ast/Types.cpp
index 25702f19..56735698 100644
--- a/libsolidity/ast/Types.cpp
+++ b/libsolidity/ast/Types.cpp
@@ -2429,7 +2429,7 @@ FunctionType::FunctionType(VariableDeclaration const& _varDecl):
else if (auto arrayType = dynamic_cast<ArrayType const*>(returnType.get()))
{
if (arrayType->isByteArray())
- // Return byte arrays as as whole.
+ // Return byte arrays as whole.
break;
returnType = arrayType->baseType();
m_parameterNames.push_back("");
diff --git a/libsolidity/ast/Types.h b/libsolidity/ast/Types.h
index 65a70019..0f3373a1 100644
--- a/libsolidity/ast/Types.h
+++ b/libsolidity/ast/Types.h
@@ -174,7 +174,7 @@ public:
/// Will not contain any character which would be invalid as an identifier.
std::string identifier() const;
- /// More complex identifier strings use "parentheses", where $_ is interpreted as as
+ /// More complex identifier strings use "parentheses", where $_ is interpreted as
/// "opening parenthesis", _$ as "closing parenthesis", _$_ as "comma" and any $ that
/// appears as part of a user-supplied identifier is escaped as _$$$_.
/// @returns an escaped identifier (will not contain any parenthesis or commas)