aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDenton Liu <liu.denton+github@gmail.com>2016-05-31 01:59:25 +0800
committerDenton Liu <liu.denton+github@gmail.com>2016-08-26 23:18:28 +0800
commitcb0b2286c1759a1387d74aa128853e72bc58de89 (patch)
tree449198fb9c7ed46dfb5b55a1e015b0b38cc9cc6c /docs
parentb0d9da05cf24381d9bb03ff2854d502d2e73bbdd (diff)
downloaddexon-solidity-cb0b2286c1759a1387d74aa128853e72bc58de89.tar.gz
dexon-solidity-cb0b2286c1759a1387d74aa128853e72bc58de89.tar.zst
dexon-solidity-cb0b2286c1759a1387d74aa128853e72bc58de89.zip
Added library keyword
Diffstat (limited to 'docs')
-rw-r--r--docs/utils/SolidityLexer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/utils/SolidityLexer.py b/docs/utils/SolidityLexer.py
index b3aed74b..779147f4 100644
--- a/docs/utils/SolidityLexer.py
+++ b/docs/utils/SolidityLexer.py
@@ -58,7 +58,7 @@ class SolidityLexer(RegexLexer):
r'throw|try|catch|finally|new|delete|typeof|instanceof|void|'
r'this|import|mapping|returns|private|public|external|internal|'
r'constant|memory|storage)\b', Keyword, 'slashstartsregex'),
- (r'(var|let|with|function|event|modifier|struct|enum|contract)\b', Keyword.Declaration, 'slashstartsregex'),
+ (r'(var|let|with|function|event|modifier|struct|enum|contract|library)\b', Keyword.Declaration, 'slashstartsregex'),
(r'(bytes|string|address|uint|int|bool|byte|' +
'|'.join(
['uint%d' % (i + 8) for i in range(0, 256, 8)] +