mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
commit
8bdb99dcc5
@ -57,7 +57,7 @@ class SolidityLexer(RegexLexer):
|
|||||||
(r'(for|in|while|do|break|return|continue|switch|case|default|if|else|'
|
(r'(for|in|while|do|break|return|continue|switch|case|default|if|else|'
|
||||||
r'throw|try|catch|finally|new|delete|typeof|instanceof|void|'
|
r'throw|try|catch|finally|new|delete|typeof|instanceof|void|'
|
||||||
r'this|import|mapping|returns|private|public|external|internal|'
|
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'(var|let|with|function|event|modifier|struct|enum|contract|library)\b', Keyword.Declaration, 'slashstartsregex'),
|
||||||
(r'(bytes|string|address|uint|int|bool|byte|' +
|
(r'(bytes|string|address|uint|int|bool|byte|' +
|
||||||
'|'.join(
|
'|'.join(
|
||||||
|
Loading…
Reference in New Issue
Block a user