diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-24 08:26:17 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-24 08:48:54 +0800 |
commit | b77b11781d174712bd141d0fd82e823cd2727aec (patch) | |
tree | 47fdccd7ebbc822b43dd99f0cf0a621f228de4e1 /libsolidity/inlineasm/AsmParser.cpp | |
parent | 4f738ff1c0975202f064900549eca4661d2f51a6 (diff) | |
download | dexon-solidity-b77b11781d174712bd141d0fd82e823cd2727aec.tar.gz dexon-solidity-b77b11781d174712bd141d0fd82e823cd2727aec.tar.zst dexon-solidity-b77b11781d174712bd141d0fd82e823cd2727aec.zip |
Rename parseFunctionalInstruction to parseCall
Diffstat (limited to 'libsolidity/inlineasm/AsmParser.cpp')
-rw-r--r-- | libsolidity/inlineasm/AsmParser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libsolidity/inlineasm/AsmParser.cpp b/libsolidity/inlineasm/AsmParser.cpp index ffd9f6e2..85ae9424 100644 --- a/libsolidity/inlineasm/AsmParser.cpp +++ b/libsolidity/inlineasm/AsmParser.cpp @@ -96,7 +96,7 @@ assembly::Statement Parser::parseStatement() switch (m_scanner->currentToken()) { case Token::LParen: - return parseFunctionalInstruction(std::move(statement)); + return parseCall(std::move(statement)); case Token::Colon: { if (statement.type() != typeid(assembly::Identifier)) @@ -138,7 +138,7 @@ assembly::Statement Parser::parseExpression() { Statement operation = parseElementaryOperation(true); if (m_scanner->currentToken() == Token::LParen) - return parseFunctionalInstruction(std::move(operation)); + return parseCall(std::move(operation)); else return operation; } @@ -303,7 +303,7 @@ assembly::FunctionDefinition Parser::parseFunctionDefinition() return funDef; } -assembly::Statement Parser::parseFunctionalInstruction(assembly::Statement&& _instruction) +assembly::Statement Parser::parseCall(assembly::Statement&& _instruction) { if (_instruction.type() == typeid(Instruction)) { |