]> git.pld-linux.org Git - packages/python3-pygments.git/blob - rpmspec.patch
- updated to 2.14.0; requires pytest 7
[packages/python3-pygments.git] / rpmspec.patch
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):
4              (r'.', Text),
5          ],
6          'macro': [
7 -            (r'%define.*$', Comment.Preproc),
8 +            (r'%(?:un)?define.*$', Comment.Preproc),
9 +            (r'%include.*$', Comment.Preproc),
10              (r'%\{\!\?.*%define.*\}', Comment.Preproc),
11              (r'(%(?:if(?:n?arch)?|else(?:if)?|endif))(.*)$',
12               bygroups(Comment.Preproc, Text)),
This page took 0.502585 seconds and 3 git commands to generate.