Commits

Georg Brandl committed 83d2b91

perl6: disable analyse_text for now, the lexer seems to like to loop sometimes

Comments (0)

Files changed (1)

pygments/lexers/agile.py

         ],
     }
 
+
 class Perl6Lexer(ExtendedRegexLexer):
     """
     For `Perl 6 <http://www.perl6.org>`_ source code.
     }
 
     def analyse_text(text):
+        # disabled for now; the lexer is not bug-free and will loop sometimes,
+        # so let's be sure to use it only for "real" Perl 6 code.
+        return False
         def strip_pod(lines):
             in_pod         = False
             stripped_lines = []