mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Style fixes.
This commit is contained in:
parent
21a4c342d8
commit
be3f9e2681
@ -50,7 +50,7 @@ string formatError(Exception const& _exception, string const& _name, CompilerSta
|
|||||||
return Json::FastWriter().write(output);
|
return Json::FastWriter().write(output);
|
||||||
}
|
}
|
||||||
|
|
||||||
string compile(string _input, bool optimize)
|
string compile(string _input, bool _optimize)
|
||||||
{
|
{
|
||||||
StringMap sources;
|
StringMap sources;
|
||||||
sources[""] = _input;
|
sources[""] = _input;
|
||||||
@ -59,7 +59,7 @@ string compile(string _input, bool optimize)
|
|||||||
CompilerStack compiler;
|
CompilerStack compiler;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
compiler.compile(_input, optimize);
|
compiler.compile(_input, _optimize);
|
||||||
}
|
}
|
||||||
catch (ParserError const& exception)
|
catch (ParserError const& exception)
|
||||||
{
|
{
|
||||||
@ -116,9 +116,9 @@ static string outputBuffer;
|
|||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
extern char const* compileJSON(char const* _input, bool optimize)
|
extern char const* compileJSON(char const* _input, bool _optimize)
|
||||||
{
|
{
|
||||||
outputBuffer = compile(_input, optimize);
|
outputBuffer = compile(_input, _optimize);
|
||||||
return outputBuffer.c_str();
|
return outputBuffer.c_str();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user