From fe32531a16322c9528c34cfbd32924b4c24a1f13 Mon Sep 17 00:00:00 2001 From: chriseth Date: Fri, 26 May 2017 14:59:41 +0200 Subject: More comments for assembly --- libsolidity/interface/AssemblyStack.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libsolidity/interface') diff --git a/libsolidity/interface/AssemblyStack.h b/libsolidity/interface/AssemblyStack.h index 4aba4846..40662ac3 100644 --- a/libsolidity/interface/AssemblyStack.h +++ b/libsolidity/interface/AssemblyStack.h @@ -57,11 +57,13 @@ public: Scanner const& scanner() const; /// Runs parsing and analysis steps, returns false if input cannot be assembled. + /// Multiple calls overwrite the previous state. bool parseAndAnalyze(std::string const& _sourceName, std::string const& _source); /// Run the assembly step (should only be called after parseAndAnalyze). eth::LinkerObject assemble(Machine _machine); + /// @returns the errors generated during parsing, analysis (and potentially assembly). ErrorList const& errors() const { return m_errors; } /// Pretty-print the input after having parsed it. -- cgit v1.2.3