Commits

Rob Hoelz  committed f3e53f0

Update comment for Perl 6 detector

  • Participants
  • Parent commits 49cf935

Comments (0)

Files changed (1)

File pygments/lexers/agile.py

             # 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