diff options
author | Nicola <natzei@users.noreply.github.com> | 2017-01-16 17:26:09 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-01-16 17:26:09 +0800 |
commit | 79e5772b8a18bc4a7a1fd1019604cec6f741b743 (patch) | |
tree | 1afa90a4d33add72accdcbc2aebf073309c75947 | |
parent | 8bdb99dcc5870268e68a42d8c567afa54f93a9b2 (diff) | |
download | dexon-solidity-79e5772b8a18bc4a7a1fd1019604cec6f741b743.tar dexon-solidity-79e5772b8a18bc4a7a1fd1019604cec6f741b743.tar.gz dexon-solidity-79e5772b8a18bc4a7a1fd1019604cec6f741b743.tar.bz2 dexon-solidity-79e5772b8a18bc4a7a1fd1019604cec6f741b743.tar.lz dexon-solidity-79e5772b8a18bc4a7a1fd1019604cec6f741b743.tar.xz dexon-solidity-79e5772b8a18bc4a7a1fd1019604cec6f741b743.tar.zst dexon-solidity-79e5772b8a18bc4a7a1fd1019604cec6f741b743.zip |
Update SolidityLexer.py (#1567)
Added number unit keywords
-rw-r--r-- | docs/utils/SolidityLexer.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/utils/SolidityLexer.py b/docs/utils/SolidityLexer.py index b536d1a4..a7da59aa 100644 --- a/docs/utils/SolidityLexer.py +++ b/docs/utils/SolidityLexer.py @@ -67,6 +67,7 @@ class SolidityLexer(RegexLexer): ['ufixed%dx%d' % ((i), (j + 8)) for i in range(0, 256, 8) for j in range(0, 256 - i, 8)] + ['fixed%dx%d' % ((i), (j + 8)) for i in range(0, 256, 8) for j in range(0, 256 - i, 8)] ) + r')\b', Keyword.Type, 'slashstartsregex'), + (r'(wei|szabo|finney|ether|seconds|minutes|hours|days|weeks|years)\b', Keyword.Type, 'slashstartsregex'), (r'(abstract|boolean|byte|char|class|const|debugger|double|enum|export|' r'extends|final|float|goto|implements|int|interface|long|native|' r'package|private|protected|public|short|static|super|synchronized|throws|' |