diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-04-27 00:12:26 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-04-27 17:08:02 +0800 |
commit | 35f1cf92dbc6082b675e41e184aefe3b24325918 (patch) | |
tree | d5300dd01e397c5afb8ab892181bc295fb12a3b0 /libsolidity/inlineasm/AsmPrinter.cpp | |
parent | 2c1fb46bc341d9e44074af23cd4eadd3a9f732c5 (diff) | |
download | dexon-solidity-35f1cf92dbc6082b675e41e184aefe3b24325918.tar.gz dexon-solidity-35f1cf92dbc6082b675e41e184aefe3b24325918.tar.zst dexon-solidity-35f1cf92dbc6082b675e41e184aefe3b24325918.zip |
Remove parentheses from around function return parameters
Diffstat (limited to 'libsolidity/inlineasm/AsmPrinter.cpp')
-rw-r--r-- | libsolidity/inlineasm/AsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/inlineasm/AsmPrinter.cpp b/libsolidity/inlineasm/AsmPrinter.cpp index a70b0b78..252e91f9 100644 --- a/libsolidity/inlineasm/AsmPrinter.cpp +++ b/libsolidity/inlineasm/AsmPrinter.cpp @@ -116,7 +116,7 @@ string AsmPrinter::operator()(assembly::FunctionDefinition const& _functionDefin { string out = "function " + _functionDefinition.name + "(" + boost::algorithm::join(_functionDefinition.arguments, ", ") + ")"; if (!_functionDefinition.returns.empty()) - out += " -> (" + boost::algorithm::join(_functionDefinition.returns, ", ") + ")"; + out += " -> " + boost::algorithm::join(_functionDefinition.returns, ", "); return out + "\n" + (*this)(_functionDefinition.body); } |