aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-01-13 22:59:02 +0800
committerGitHub <noreply@github.com>2017-01-13 22:59:02 +0800
commit8bdb99dcc5870268e68a42d8c567afa54f93a9b2 (patch)
tree84a9b3ce69b49414ff53a37ac5ef03d859d918ac
parent42ae5d028294651aefb37b4b6e9136a45e361ce7 (diff)
parentfb5583857a85b91614c761c6d91eafc2627177ba (diff)
downloaddexon-solidity-8bdb99dcc5870268e68a42d8c567afa54f93a9b2.tar.gz
dexon-solidity-8bdb99dcc5870268e68a42d8c567afa54f93a9b2.tar.zst
dexon-solidity-8bdb99dcc5870268e68a42d8c567afa54f93a9b2.zip
Merge pull request #1564 from natzei/patch-1
Update SolidityLexer.py
-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 779147f4..b536d1a4 100644
--- a/docs/utils/SolidityLexer.py
+++ b/docs/utils/SolidityLexer.py
@@ -57,7 +57,7 @@ class SolidityLexer(RegexLexer):
(r'(for|in|while|do|break|return|continue|switch|case|default|if|else|'
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'constant|memory|storage|payable)\b', Keyword, '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(