aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/inlineasm/AsmParser.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-12-04 19:49:44 +0800
committerGitHub <noreply@github.com>2017-12-04 19:49:44 +0800
commit240c79e61450d69f45356242924c23adf2a004b4 (patch)
tree31ea5a98476602c0d5add625827259ba37dd3d1a /libsolidity/inlineasm/AsmParser.cpp
parent4cad0b224b0f0913100c5957bef98786dc5a31c2 (diff)
parent43bb915454e210ed7c201eb58b33c7ffe8dfbdb1 (diff)
downloaddexon-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.cpp4
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);