diff options
author | chriseth <chris@ethereum.org> | 2017-03-06 21:20:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-06 21:20:31 +0800 |
commit | 863a353374a410a27a32b9feca3b6514b73f7809 (patch) | |
tree | 4152a2939a2cf427765d1ce62202024a3729e515 | |
parent | 5069c58a4be58d406585873a0d86852e17f9f89a (diff) | |
parent | 14c11170986ed482e4c320afba3226abbb7d1537 (diff) | |
download | dexon-solidity-863a353374a410a27a32b9feca3b6514b73f7809.tar.gz dexon-solidity-863a353374a410a27a32b9feca3b6514b73f7809.tar.zst dexon-solidity-863a353374a410a27a32b9feca3b6514b73f7809.zip |
Merge pull request #1744 from ethereum/chriseth-patch-1
Add keywords delete and for
-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 f5220c8b..1dc99159 100644 --- a/docs/utils/SolidityLexer.py +++ b/docs/utils/SolidityLexer.py @@ -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'), |