[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bogus perl fontification with jit-lock
From: |
Jindrich Makovicka |
Subject: |
bogus perl fontification with jit-lock |
Date: |
Sat, 09 Apr 2005 12:33:43 +0200 |
User-agent: |
Debian Thunderbird 1.0.2 (X11/20050331) |
Hello,
when using jit-lock with current CVS, Emacs displays some parts of Perl
programs in wrong colors - it probably assumes they are string literals.
An example is the attached module, where Emacs mis-colors the portion
after the line
croak "cannot find method $name";
After removing the "\:" in the regular expression few lines above
($name =~ s/.*\://;), the code displays correctly, so I would guess
there is some bug in parsing of the regular expressions.
PS: Please do not judge the quality of my code :)
Regards,
--
Jindrich Makovicka
FTP.pm
Description: Perl program
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bogus perl fontification with jit-lock,
Jindrich Makovicka <=