summaryrefslogtreecommitdiff
path: root/pygments/lexers/agile.py
diff options
context:
space:
mode:
authorRob Hoelz <rob@hoelz.ro>2014-01-14 20:35:51 +0100
committerRob Hoelz <rob@hoelz.ro>2014-01-14 20:35:51 +0100
commit336c7ce3a432bf82cef7c4e4d3f0c598912896ee (patch)
treee3d007b04fbb7d366940a7d5769446beb2fcca6f /pygments/lexers/agile.py
parentd0690993b56bdbfd5ed89d807980a8f7c63cd3c9 (diff)
downloadpygments-336c7ce3a432bf82cef7c4e4d3f0c598912896ee.tar.gz
Update comment for Perl 6 detector
Diffstat (limited to 'pygments/lexers/agile.py')
-rw-r--r--pygments/lexers/agile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/agile.py b/pygments/lexers/agile.py
index 8365f45e..5ac58559 100644
--- a/pygments/lexers/agile.py
+++ b/pygments/lexers/agile.py
@@ -2273,7 +2273,7 @@ class Perl6Lexer(ExtendedRegexLexer):
# match v6; use v6; use v6.0; use v6.0.0;
if re.match('^\s*(?:use\s+)?v6(?:\.\d(?:\.\d)?)?;', line):
return True
- # match class, module, role declarations
+ # match class, module, role, enum, grammar declarations
if re.match('^\s*(?:(?:my|our)\s+)?(?:module|class|role|enum|grammar)', line):
return True
break