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-05 00:35:23 +0800
commit5aff9fbde2c33a5bf2edf3e54c421a654a02e90c (patch)
tree1ed8562076d78cdfb6c7ae9e2ee6b3bdf6be09df /AST.h
parent60c8709d6e633666659b04af1e773b75a686610f (diff)
downloaddexon-solidity-5aff9fbde2c33a5bf2edf3e54c421a654a02e90c.tar
dexon-solidity-5aff9fbde2c33a5bf2edf3e54c421a654a02e90c.tar.gz
dexon-solidity-5aff9fbde2c33a5bf2edf3e54c421a654a02e90c.tar.bz2
dexon-solidity-5aff9fbde2c33a5bf2edf3e54c421a654a02e90c.tar.lz
dexon-solidity-5aff9fbde2c33a5bf2edf3e54c421a654a02e90c.tar.xz
dexon-solidity-5aff9fbde2c33a5bf2edf3e54c421a654a02e90c.tar.zst
dexon-solidity-5aff9fbde2c33a5bf2edf3e54c421a654a02e90c.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,