diff options
author | Nicola <natzei@users.noreply.github.com> | 2017-01-13 22:40:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-13 22:40:46 +0800 |
commit | fb5583857a85b91614c761c6d91eafc2627177ba (patch) | |
tree | 84a9b3ce69b49414ff53a37ac5ef03d859d918ac | |
parent | 42ae5d028294651aefb37b4b6e9136a45e361ce7 (diff) | |
download | dexon-solidity-fb5583857a85b91614c761c6d91eafc2627177ba.tar dexon-solidity-fb5583857a85b91614c761c6d91eafc2627177ba.tar.gz dexon-solidity-fb5583857a85b91614c761c6d91eafc2627177ba.tar.bz2 dexon-solidity-fb5583857a85b91614c761c6d91eafc2627177ba.tar.lz dexon-solidity-fb5583857a85b91614c761c6d91eafc2627177ba.tar.xz dexon-solidity-fb5583857a85b91614c761c6d91eafc2627177ba.tar.zst dexon-solidity-fb5583857a85b91614c761c6d91eafc2627177ba.zip |
Update SolidityLexer.py
'payable' added as a keyword
-rw-r--r-- | docs/utils/SolidityLexer.py | 2 |
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( |