aboutsummaryrefslogtreecommitdiffstats
path: root/AST.h
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2015-03-05 00:35:23 +0800
committerGav Wood <i@gavwood.com>2015-03-06 19:46:23 +0800
commit9aea119e54fbf2afa6d999e5419bb9db93eed2ce (patch)
tree6f4337f34e6a7e7fe0cf8572ac4d8e6c8ff5274f /AST.h
parent34e8de749aeecbca5f5dae817aa67f42907e9bf7 (diff)
downloaddexon-solidity-9aea119e54fbf2afa6d999e5419bb9db93eed2ce.tar.gz
dexon-solidity-9aea119e54fbf2afa6d999e5419bb9db93eed2ce.tar.zst
dexon-solidity-9aea119e54fbf2afa6d999e5419bb9db93eed2ce.zip
Add date/time language to solidity.
Diffstat (limited to 'AST.h')
-rw-r--r--AST.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/AST.h b/AST.h
index c91c433e..c3c2cd8d 100644
--- a/AST.h
+++ b/AST.h
@@ -1197,7 +1197,13 @@ public:
Wei = Token::SubWei,
Szabo = Token::SubSzabo,
Finney = Token::SubFinney,
- Ether = Token::SubEther
+ Ether = Token::SubEther,
+ Second = Token::SubSecond,
+ Minute = Token::SubMinute,
+ Hour = Token::SubHour,
+ Day = Token::SubDay,
+ Week = Token::SubWeek,
+ Year = Token::SubYear
};
Literal(SourceLocation const& _location, Token::Value _token,
ASTPointer<ASTString> const& _value,