summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2016-04-14 08:21:36 +0200
committerGeorg Brandl <georg@python.org>2016-04-14 08:21:36 +0200
commiteeda49eb8b744ed9c47f5873667233a52717155b (patch)
tree792ca65b38f3a496d5d1ef20a7adf1f7f523e825
parent5135780d960dd4c786ec32723fac247d9aa7b518 (diff)
parent972648dd12e79ef7ee9975c7fc075103a370a6ac (diff)
downloadpygments-git-eeda49eb8b744ed9c47f5873667233a52717155b.tar.gz
Merged in skleinfeld/pygments-main (pull request #581)
In BaseMakefileLexer, do not capture opening parentheses in expansion mode as Text.
-rw-r--r--pygments/lexers/make.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/make.py b/pygments/lexers/make.py
index f5eac127..7ad616dd 100644
--- a/pygments/lexers/make.py
+++ b/pygments/lexers/make.py
@@ -102,7 +102,7 @@ class BaseMakefileLexer(RegexLexer):
(r'\$\(', Keyword, 'expansion'),
],
'expansion': [
- (r'[^$a-zA-Z_)]+', Text),
+ (r'[^$a-zA-Z_()]+', Text),
(r'[a-zA-Z_]+', Name.Variable),
(r'\$', Keyword),
(r'\(', Keyword, '#push'),