mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update SolidityLexer.py
'payable' added as a keyword
This commit is contained in:
parent
42ae5d0282
commit
fb5583857a
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user