aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/parsing/Parser.h
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-03-02 01:39:01 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-04-04 00:21:55 +0800
commitd664a599e68291166c47fcece464cb8d0af31df8 (patch)
tree26668133eed7076b9d5a94d2a1f6ba982f79250e /libsolidity/parsing/Parser.h
parent0edce4b570c157927933697b30f0f94cbdf173b2 (diff)
downloaddexon-solidity-d664a599e68291166c47fcece464cb8d0af31df8.tar
dexon-solidity-d664a599e68291166c47fcece464cb8d0af31df8.tar.gz
dexon-solidity-d664a599e68291166c47fcece464cb8d0af31df8.tar.bz2
dexon-solidity-d664a599e68291166c47fcece464cb8d0af31df8.tar.lz
dexon-solidity-d664a599e68291166c47fcece464cb8d0af31df8.tar.xz
dexon-solidity-d664a599e68291166c47fcece464cb8d0af31df8.tar.zst
dexon-solidity-d664a599e68291166c47fcece464cb8d0af31df8.zip
Constructors are defined using the ``constructor`` keyword.
Diffstat (limited to 'libsolidity/parsing/Parser.h')
-rw-r--r--libsolidity/parsing/Parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/parsing/Parser.h b/libsolidity/parsing/Parser.h
index 3f780af9..2d0e52e1 100644
--- a/libsolidity/parsing/Parser.h
+++ b/libsolidity/parsing/Parser.h
@@ -56,6 +56,7 @@ private:
/// This struct is shared for parsing a function header and a function type.
struct FunctionHeaderParserResult
{
+ bool isConstructor;
ASTPointer<ASTString> name;
ASTPointer<ParameterList> parameters;
ASTPointer<ParameterList> returnParameters;