summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-01-09 20:29:32 +0100
committerGeorg Brandl <georg@python.org>2014-01-09 20:29:32 +0100
commitb079caaf82c5fad49cebadc81c20acecb5630a4b (patch)
tree8c913df75b489ffce6a7318b2f6081112d31fcf4
parenteda05a5bc7fac6f8bad252e0cf5ae37a4f918bd2 (diff)
downloadpygments-b079caaf82c5fad49cebadc81c20acecb5630a4b.tar.gz
Closes #942: add CMake generator expressions.
-rw-r--r--pygments/lexers/text.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pygments/lexers/text.py b/pygments/lexers/text.py
index 1b7af8b6..2635906e 100644
--- a/pygments/lexers/text.py
+++ b/pygments/lexers/text.py
@@ -1641,6 +1641,7 @@ class CMakeLexer(RegexLexer):
(r'\(', Punctuation, '#push'),
(r'\)', Punctuation, '#pop'),
(r'(\${)(.+?)(})', bygroups(Operator, Name.Variable, Operator)),
+ (r'(\$<)(.+?)(>)', bygroups(Operator, Name.Variable, Operator)),
(r'(?s)".*?"', String.Double),
(r'\\\S+', String),
(r'[^\)$"# \t\n]+', String),