aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2014-10-31 20:29:32 +0800
committerChristian <c@ethdev.com>2014-10-31 20:29:32 +0800
commit9f53f1889310e92e1aa9011e1c43eda9c038fce5 (patch)
treedf87c485a14273dc925b10928f4ff435d2376cb7
parent5d287e7ea2e1847bb5fc4c67c520248c7060c4c6 (diff)
downloaddexon-solidity-9f53f1889310e92e1aa9011e1c43eda9c038fce5.tar
dexon-solidity-9f53f1889310e92e1aa9011e1c43eda9c038fce5.tar.gz
dexon-solidity-9f53f1889310e92e1aa9011e1c43eda9c038fce5.tar.bz2
dexon-solidity-9f53f1889310e92e1aa9011e1c43eda9c038fce5.tar.lz
dexon-solidity-9f53f1889310e92e1aa9011e1c43eda9c038fce5.tar.xz
dexon-solidity-9f53f1889310e92e1aa9011e1c43eda9c038fce5.tar.zst
dexon-solidity-9f53f1889310e92e1aa9011e1c43eda9c038fce5.zip
Corrected doxygen post comments.
-rw-r--r--AST.h4
-rw-r--r--Compiler.h12
2 files changed, 8 insertions, 8 deletions
diff --git a/AST.h b/AST.h
index e7282660..4dc44e29 100644
--- a/AST.h
+++ b/AST.h
@@ -345,7 +345,7 @@ public:
private:
ASTPointer<Expression> m_condition;
ASTPointer<Statement> m_trueBody;
- ASTPointer<Statement> m_falseBody; //< "else" part, optional
+ ASTPointer<Statement> m_falseBody; ///< "else" part, optional
};
/**
@@ -400,7 +400,7 @@ public:
void setFunctionReturnParameters(ParameterList& _parameters) { m_returnParameters = &_parameters; }
private:
- ASTPointer<Expression> m_expression; //< value to return, optional
+ ASTPointer<Expression> m_expression; ///< value to return, optional
/// Pointer to the parameter list of the function, filled by the @ref NameAndTypeResolver.
ParameterList* m_returnParameters;
diff --git a/Compiler.h b/Compiler.h
index 1401e12e..5817f12f 100644
--- a/Compiler.h
+++ b/Compiler.h
@@ -38,10 +38,10 @@ class AssemblyItem
public:
enum class Type
{
- CODE, //< m_data is opcode, m_label is empty.
- DATA, //< m_data is actual data, m_label is empty
- LABEL, //< m_data is JUMPDEST opcode, m_label is id of label
- LABELREF //< m_data is empty, m_label is id of label
+ CODE, ///< m_data is opcode, m_label is empty.
+ DATA, ///< m_data is actual data, m_label is empty
+ LABEL, ///< m_data is JUMPDEST opcode, m_label is id of label
+ LABELREF ///< m_data is empty, m_label is id of label
};
explicit AssemblyItem(eth::Instruction _instruction) : m_type(Type::CODE), m_data(byte(_instruction)) {}
@@ -59,8 +59,8 @@ private:
AssemblyItem(Type _type, byte _data, uint32_t _label): m_type(_type), m_data(_data), m_label(_label) {}
Type m_type;
- byte m_data; //< data to be written to the bytecode stream (or filled by a label if this is a LABELREF)
- uint32_t m_label; //< the id of a label either referenced or defined by this item
+ byte m_data; ///< data to be written to the bytecode stream (or filled by a label if this is a LABELREF)
+ uint32_t m_label; ///< the id of a label either referenced or defined by this item
};
using AssemblyItems = std::vector<AssemblyItem>;