mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Indentation fixes in lllc
This commit is contained in:
parent
fda8499c15
commit
f67d34e4ec
@ -131,7 +131,9 @@ int main(int argc, char** argv)
|
||||
|
||||
vector<string> errors;
|
||||
if (src.empty())
|
||||
{
|
||||
errors.push_back("Empty file.");
|
||||
}
|
||||
else if (mode == Disassemble)
|
||||
{
|
||||
cout << disassemble(fromHex(src)) << endl;
|
||||
@ -145,9 +147,14 @@ int main(int argc, char** argv)
|
||||
cout.write((char const*)bs.data(), bs.size());
|
||||
}
|
||||
else if (mode == ParseTree)
|
||||
{
|
||||
cout << parseLLL(src) << endl;
|
||||
}
|
||||
else if (mode == Assembly)
|
||||
{
|
||||
cout << compileLLLToAsm(src, optimise ? true : false, &errors, contentsString) << endl;
|
||||
}
|
||||
|
||||
for (auto const& i: errors)
|
||||
cerr << i << endl;
|
||||
if (errors.size())
|
||||
|
Loading…
Reference in New Issue
Block a user