mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add keywords delete and for
This commit is contained in:
parent
2dac39b96b
commit
14c1117098
@ -54,7 +54,7 @@ class SolidityLexer(RegexLexer):
|
||||
r'(<<|>>>?|==?|!=?|[-<>+*%&\|\^/])=?', Operator, 'slashstartsregex'),
|
||||
(r'[{(\[;,]', Punctuation, 'slashstartsregex'),
|
||||
(r'[})\].]', Punctuation),
|
||||
(r'(anonymous|as|assembly|break|constant|continue|do|else|external|hex|if|'
|
||||
(r'(anonymous|as|assembly|break|constant|continue|do|delete|else|external|for|hex|if|'
|
||||
r'indexed|internal|import|is|mapping|memory|new|payable|public|pragma|'
|
||||
r'private|return|returns|storage|super|this|throw|using|while)\b', Keyword, 'slashstartsregex'),
|
||||
(r'(var|function|event|modifier|struct|enum|contract|library)\b', Keyword.Declaration, 'slashstartsregex'),
|
||||
|
Loading…
Reference in New Issue
Block a user