From fb5583857a85b91614c761c6d91eafc2627177ba Mon Sep 17 00:00:00 2001 From: Nicola Date: Fri, 13 Jan 2017 15:40:46 +0100 Subject: Update SolidityLexer.py 'payable' added as a keyword --- docs/utils/SolidityLexer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- cgit