diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-09-20 23:55:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-20 23:55:05 +0800 |
commit | ab93c94081a4f2849572e7432c63f9b449d5b6a5 (patch) | |
tree | 785c464fbdef10648c79188d93bb5ac2134d6c58 /libsolidity/ast | |
parent | 5a473ab6824512512b8642af66759abb34cf3a23 (diff) | |
parent | 44e8dfd3931f24202ee4a718242451ed990c3ff6 (diff) | |
download | dexon-solidity-ab93c94081a4f2849572e7432c63f9b449d5b6a5.tar dexon-solidity-ab93c94081a4f2849572e7432c63f9b449d5b6a5.tar.gz dexon-solidity-ab93c94081a4f2849572e7432c63f9b449d5b6a5.tar.bz2 dexon-solidity-ab93c94081a4f2849572e7432c63f9b449d5b6a5.tar.lz dexon-solidity-ab93c94081a4f2849572e7432c63f9b449d5b6a5.tar.xz dexon-solidity-ab93c94081a4f2849572e7432c63f9b449d5b6a5.tar.zst dexon-solidity-ab93c94081a4f2849572e7432c63f9b449d5b6a5.zip |
Merge pull request #5040 from liangdzou/fix_typo
fix typo
Diffstat (limited to 'libsolidity/ast')
-rw-r--r-- | libsolidity/ast/Types.cpp | 2 | ||||
-rw-r--r-- | libsolidity/ast/Types.h | 2 |
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) |