Skip to content

Commit

Permalink
Added library keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
Denton-L committed Aug 26, 2016
1 parent b0d9da0 commit cb0b228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/utils/SolidityLexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)] +
Expand Down

0 comments on commit cb0b228

Please sign in to comment.