aboutsummaryrefslogtreecommitdiffstats
path: root/docs/utils
diff options
context:
space:
mode:
authorNicola <natzei@users.noreply.github.com>2017-01-13 22:40:46 +0800
committerGitHub <noreply@github.com>2017-01-13 22:40:46 +0800
commitfb5583857a85b91614c761c6d91eafc2627177ba (patch)
tree84a9b3ce69b49414ff53a37ac5ef03d859d918ac /docs/utils
parent42ae5d028294651aefb37b4b6e9136a45e361ce7 (diff)
downloaddexon-solidity-fb5583857a85b91614c761c6d91eafc2627177ba.tar.gz
dexon-solidity-fb5583857a85b91614c761c6d91eafc2627177ba.tar.zst
dexon-solidity-fb5583857a85b91614c761c6d91eafc2627177ba.zip
Update SolidityLexer.py
'payable' added as a keyword
Diffstat (limited to 'docs/utils')
-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(