]> git.pld-linux.org Git - packages/python3-pygments.git/blame - rpmspec.patch
- updated to 2.14.0; requires pytest 7
[packages/python3-pygments.git] / rpmspec.patch
CommitLineData
7cb00ee1
JB
1--- Pygments-2.13.0/pygments/lexers/installers.py.orig 2022-09-01 19:07:12.905773545 +0200
2+++ Pygments-2.13.0/pygments/lexers/installers.py 2022-09-01 19:11:33.161030288 +0200
3@@ -203,7 +203,8 @@ class RPMSpecLexer(RegexLexer):
971b9c53
ER
4 (r'.', Text),
5 ],
6 'macro': [
7cb00ee1
JB
7- (r'%define.*$', Comment.Preproc),
8+ (r'%(?:un)?define.*$', Comment.Preproc),
9+ (r'%include.*$', Comment.Preproc),
971b9c53
ER
10 (r'%\{\!\?.*%define.*\}', Comment.Preproc),
11 (r'(%(?:if(?:n?arch)?|else(?:if)?|endif))(.*)$',
12 bygroups(Comment.Preproc, Text)),
This page took 0.114338 seconds and 4 git commands to generate.