summaryrefslogtreecommitdiff
path: root/pygments/lexers/make.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/make.py')
-rw-r--r--pygments/lexers/make.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/make.py b/pygments/lexers/make.py
index 7ad616dd..b222b672 100644
--- a/pygments/lexers/make.py
+++ b/pygments/lexers/make.py
@@ -5,7 +5,7 @@
Lexers for Makefiles and similar.
- :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS.
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
@@ -90,7 +90,7 @@ class BaseMakefileLexer(RegexLexer):
bygroups(Keyword, Text), 'export'),
(r'export\s+', Keyword),
# assignment
- (r'([\w${}.-]+)(\s*)([!?:+]?=)([ \t]*)((?:.*\\\n)+|.*\n)',
+ (r'([\w${}().-]+)(\s*)([!?:+]?=)([ \t]*)((?:.*\\\n)+|.*\n)',
bygroups(Name.Variable, Text, Operator, Text, using(BashLexer))),
# strings
(r'(?s)"(\\\\|\\.|[^"\\])*"', String.Double),