Skip to content

Commit

Permalink
remove : from the Punctuation regex in the SolidityLexer
Browse files Browse the repository at this point in the history
  • Loading branch information
f0rki authored and birkenfeld committed Dec 3, 2022
1 parent 0a3d400 commit e9703b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygments/lexers/solidity.py
Expand Up @@ -60,7 +60,7 @@ class SolidityLexer(RegexLexer):
include('constants'),
(r'[a-zA-Z_]\w*', Text),
(r'[~!%^&*+=|?:<>/-]', Operator),
(r'[.;:{}(),\[\]]', Punctuation)
(r'[.;{}(),\[\]]', Punctuation)
],
'comments': [
(r'//(\n|[\w\W]*?[^\\]\n)', Comment.Single),
Expand Down

0 comments on commit e9703b7

Please sign in to comment.