eric6/ThirdParty/Pygments/pygments/lexers/make.py

changeset 7547
21b0534faebc
parent 6942
2602857055c5
child 7701
25f42e208e08
equal deleted inserted replaced
7546:bf5f777260a6 7547:21b0534faebc
3 pygments.lexers.make 3 pygments.lexers.make
4 ~~~~~~~~~~~~~~~~~~~~ 4 ~~~~~~~~~~~~~~~~~~~~
5 5
6 Lexers for Makefiles and similar. 6 Lexers for Makefiles and similar.
7 7
8 :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS. 8 :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS.
9 :license: BSD, see LICENSE for details. 9 :license: BSD, see LICENSE for details.
10 """ 10 """
11 11
12 import re 12 import re
13 13
100 'block-header'), 100 'block-header'),
101 # expansions 101 # expansions
102 (r'\$\(', Keyword, 'expansion'), 102 (r'\$\(', Keyword, 'expansion'),
103 ], 103 ],
104 'expansion': [ 104 'expansion': [
105 (r'[^$a-zA-Z_()]+', Text), 105 (r'[^\w$().-]+', Text),
106 (r'[a-zA-Z_]+', Name.Variable), 106 (r'[\w.-]+', Name.Variable),
107 (r'\$', Keyword), 107 (r'\$', Keyword),
108 (r'\(', Keyword, '#push'), 108 (r'\(', Keyword, '#push'),
109 (r'\)', Keyword, '#pop'), 109 (r'\)', Keyword, '#pop'),
110 ], 110 ],
111 'export': [ 111 'export': [

eric ide

mercurial