diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-20 00:54:55 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-26 10:20:15 +0800 |
commit | db3d9e0416e7ac69ddf13eb6e2fd4e0a35dd1a63 (patch) | |
tree | dfaae547812cc98e880cc248b31d70816aec37db /libsolidity/inlineasm/AsmPrinter.cpp | |
parent | 66eab1caf63f9221a279abf71de953524fe9c2ad (diff) | |
download | dexon-solidity-db3d9e0416e7ac69ddf13eb6e2fd4e0a35dd1a63.tar dexon-solidity-db3d9e0416e7ac69ddf13eb6e2fd4e0a35dd1a63.tar.gz dexon-solidity-db3d9e0416e7ac69ddf13eb6e2fd4e0a35dd1a63.tar.bz2 dexon-solidity-db3d9e0416e7ac69ddf13eb6e2fd4e0a35dd1a63.tar.lz dexon-solidity-db3d9e0416e7ac69ddf13eb6e2fd4e0a35dd1a63.tar.xz dexon-solidity-db3d9e0416e7ac69ddf13eb6e2fd4e0a35dd1a63.tar.zst dexon-solidity-db3d9e0416e7ac69ddf13eb6e2fd4e0a35dd1a63.zip |
Switch cases are not followed by colon
Diffstat (limited to 'libsolidity/inlineasm/AsmPrinter.cpp')
-rw-r--r-- | libsolidity/inlineasm/AsmPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/inlineasm/AsmPrinter.cpp b/libsolidity/inlineasm/AsmPrinter.cpp index 1ef9d071..e282e5e8 100644 --- a/libsolidity/inlineasm/AsmPrinter.cpp +++ b/libsolidity/inlineasm/AsmPrinter.cpp @@ -173,9 +173,9 @@ string AsmPrinter::operator()(Switch const& _switch) for (auto const& _case: _switch.cases) { if (!_case.value) - out += "\ndefault: "; + out += "\ndefault "; else - out += "\ncase " + (*this)(*_case.value) + ": "; + out += "\ncase " + (*this)(*_case.value) + " "; out += (*this)(_case.body); } return out; |