diff options
author | chriseth <chris@ethereum.org> | 2017-12-04 19:49:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-04 19:49:44 +0800 |
commit | 240c79e61450d69f45356242924c23adf2a004b4 (patch) | |
tree | 31ea5a98476602c0d5add625827259ba37dd3d1a /libsolidity/inlineasm/AsmParser.cpp | |
parent | 4cad0b224b0f0913100c5957bef98786dc5a31c2 (diff) | |
parent | 43bb915454e210ed7c201eb58b33c7ffe8dfbdb1 (diff) | |
download | dexon-solidity-240c79e61450d69f45356242924c23adf2a004b4.tar.gz dexon-solidity-240c79e61450d69f45356242924c23adf2a004b4.tar.zst dexon-solidity-240c79e61450d69f45356242924c23adf2a004b4.zip |
Merge pull request #3265 from ethereum/rename_args_to_params
Rename arguments to parameters.
Diffstat (limited to 'libsolidity/inlineasm/AsmParser.cpp')
-rw-r--r-- | libsolidity/inlineasm/AsmParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/inlineasm/AsmParser.cpp b/libsolidity/inlineasm/AsmParser.cpp index 8f171005..1555804b 100644 --- a/libsolidity/inlineasm/AsmParser.cpp +++ b/libsolidity/inlineasm/AsmParser.cpp @@ -419,7 +419,7 @@ assembly::FunctionDefinition Parser::parseFunctionDefinition() expectToken(Token::LParen); while (currentToken() != Token::RParen) { - funDef.arguments.emplace_back(parseTypedName()); + funDef.parameters.emplace_back(parseTypedName()); if (currentToken() == Token::RParen) break; expectToken(Token::Comma); @@ -431,7 +431,7 @@ assembly::FunctionDefinition Parser::parseFunctionDefinition() expectToken(Token::GreaterThan); while (true) { - funDef.returns.emplace_back(parseTypedName()); + funDef.returnVariables.emplace_back(parseTypedName()); if (currentToken() == Token::LBrace) break; expectToken(Token::Comma); |