diff options
author | chriseth <c@ethdev.com> | 2015-04-22 17:33:02 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-04-22 17:33:26 +0800 |
commit | be3f9e26814c2ea57ad42f5893802e7213d64dce (patch) | |
tree | 20c3099401f69851c510ba1311488d31df0f1efd /jsonCompiler.cpp | |
parent | 21a4c342d8102b30cde1e10f2750b8f5cb1317c3 (diff) | |
download | dexon-solidity-be3f9e26814c2ea57ad42f5893802e7213d64dce.tar dexon-solidity-be3f9e26814c2ea57ad42f5893802e7213d64dce.tar.gz dexon-solidity-be3f9e26814c2ea57ad42f5893802e7213d64dce.tar.bz2 dexon-solidity-be3f9e26814c2ea57ad42f5893802e7213d64dce.tar.lz dexon-solidity-be3f9e26814c2ea57ad42f5893802e7213d64dce.tar.xz dexon-solidity-be3f9e26814c2ea57ad42f5893802e7213d64dce.tar.zst dexon-solidity-be3f9e26814c2ea57ad42f5893802e7213d64dce.zip |
Style fixes.
Diffstat (limited to 'jsonCompiler.cpp')
-rw-r--r-- | jsonCompiler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jsonCompiler.cpp b/jsonCompiler.cpp index 7475483c..3079df69 100644 --- a/jsonCompiler.cpp +++ b/jsonCompiler.cpp @@ -50,7 +50,7 @@ string formatError(Exception const& _exception, string const& _name, CompilerSta return Json::FastWriter().write(output); } -string compile(string _input, bool optimize) +string compile(string _input, bool _optimize) { StringMap sources; sources[""] = _input; @@ -59,7 +59,7 @@ string compile(string _input, bool optimize) CompilerStack compiler; try { - compiler.compile(_input, optimize); + compiler.compile(_input, _optimize); } catch (ParserError const& exception) { @@ -116,9 +116,9 @@ static string outputBuffer; 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(); } } |