aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-05-26 20:59:41 +0800
committerchriseth <chris@ethereum.org>2017-05-26 21:08:27 +0800
commitfe32531a16322c9528c34cfbd32924b4c24a1f13 (patch)
treedb7c96292cf4205acd14728ced481afbc020cd92
parent261731f7eea48902983c55163d377e26bbca07da (diff)
downloaddexon-solidity-fe32531a16322c9528c34cfbd32924b4c24a1f13.tar.gz
dexon-solidity-fe32531a16322c9528c34cfbd32924b4c24a1f13.tar.zst
dexon-solidity-fe32531a16322c9528c34cfbd32924b4c24a1f13.zip
More comments for assembly
-rw-r--r--libsolidity/interface/AssemblyStack.h2
1 files changed, 2 insertions, 0 deletions
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.