diff options
-rw-r--r-- | Compiler.h | 2 | ||||
-rw-r--r-- | CompilerContext.h | 7 | ||||
-rw-r--r-- | CompilerStack.h | 2 |
3 files changed, 7 insertions, 4 deletions
@@ -42,7 +42,7 @@ public: bytes getAssembledBytecode() { return m_context.getAssembledBytecode(m_optimize); } bytes getRuntimeBytecode() { return m_runtimeContext.getAssembledBytecode(m_optimize);} /// @arg _sourceCodes is the map of input files to source code strings - /// @arg _inJsonFromat shows weather the out should be in Json format + /// @arg _inJsonFromat shows whether the out should be in Json format void streamAssembly(std::ostream& _stream, StringMap const& _sourceCodes = StringMap(), bool _inJsonFormat = false) const { m_context.streamAssembly(_stream, _sourceCodes, _inJsonFormat); diff --git a/CompilerContext.h b/CompilerContext.h index 3fcf0706..9c2156bf 100644 --- a/CompilerContext.h +++ b/CompilerContext.h @@ -122,8 +122,11 @@ public: eth::Assembly const& getAssembly() const { return m_asm; } /// @arg _sourceCodes is the map of input files to source code strings - /// @arg _inJsonFromat shows weather the out should be in Json format - void streamAssembly(std::ostream& _stream, StringMap const& _sourceCodes = StringMap(), bool _inJsonFormat = false) const { m_asm.stream(_stream, "", _sourceCodes, _inJsonFormat); } + /// @arg _inJsonFormat shows whether the out should be in Json format + void streamAssembly(std::ostream& _stream, StringMap const& _sourceCodes = StringMap(), bool _inJsonFormat = false) const + { + m_asm.stream(_stream, "", _sourceCodes, _inJsonFormat); + } bytes getAssembledBytecode(bool _optimize = false) { return m_asm.optimise(_optimize).assemble(); } diff --git a/CompilerStack.h b/CompilerStack.h index ef3d0966..2e7c217d 100644 --- a/CompilerStack.h +++ b/CompilerStack.h @@ -102,7 +102,7 @@ public: /// Streams a verbose version of the assembly to @a _outStream. /// @arg _sourceCodes is the map of input files to source code strings - /// @arg _inJsonFromat shows weather the out should be in Json format + /// @arg _inJsonFromat shows whether the out should be in Json format /// Prerequisite: Successful compilation. void streamAssembly(std::ostream& _outStream, std::string const& _contractName = "", StringMap _sourceCodes = StringMap(), bool _inJsonFormat = false) const; |