aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/parsing/Token.h
diff options
context:
space:
mode:
authorErik Kundt <bitshift@posteo.org>2018-06-27 18:29:03 +0800
committerErik Kundt <bitshift@posteo.org>2018-07-18 20:29:01 +0800
commit182a0a95516e4f218524b929035e6a1bd5d2742c (patch)
treebcf6743a43070346a5193f1a4d9d12c3b5bd092c /libsolidity/parsing/Token.h
parentb909df4573130e020c7f4dfb61c0571ba1bc02ab (diff)
downloaddexon-solidity-182a0a95516e4f218524b929035e6a1bd5d2742c.tar.gz
dexon-solidity-182a0a95516e4f218524b929035e6a1bd5d2742c.tar.zst
dexon-solidity-182a0a95516e4f218524b929035e6a1bd5d2742c.zip
Disallows old constructor syntax.
Diffstat (limited to 'libsolidity/parsing/Token.h')
-rw-r--r--libsolidity/parsing/Token.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/parsing/Token.h b/libsolidity/parsing/Token.h
index cb855cbe..7ce24e69 100644
--- a/libsolidity/parsing/Token.h
+++ b/libsolidity/parsing/Token.h
@@ -144,6 +144,7 @@ namespace solidity
K(Assembly, "assembly", 0) \
K(Break, "break", 0) \
K(Constant, "constant", 0) \
+ K(Constructor, "constructor", 0) \
K(Continue, "continue", 0) \
K(Contract, "contract", 0) \
K(Do, "do", 0) \