Commits

Rob Hoelz committed f1f1a4a

Perl 6: Return a non-false fuzzy value if we found a Perl-style variable declaration

  • Participants
  • Parent commits c0cba73

Comments (0)

Files changed (1)

pygments/lexers/agile.py

                 return True
             break
 
-        return False
+        return 0.8 if saw_perl_decl else False
 
     def __init__(self, **options):
         super(Perl6Lexer, self).__init__(**options)