------------------------------------------------------------------------
Subject:
[Bug 189873] [NEW] perl-mode highlight breaks down on prototype
From:
Johan Walles <address@hidden>
Date:
Thu, 07 Feb 2008 10:29:40 -0000
To:
address@hidden
To:
address@hidden
Public bug reported:
Binary package hint: emacs22-common
With emacs22-common 22.1-0ubuntu5.1, type the following in a perl-mode
buffer (but without the quotes):
"
#!/usr/bin/perl
sub searchCRS($$$$$$);
searchCRS("SELECT $cr_columns FROM CRS crs WHERE category=1 ORDER BY hours DESC, created;", 24, 0,
0, "(Co)|(UC)", "problem");
# Prio 2 list.
"
Note how the last comment is highlighted as string contents, not as a
comment. Indentation and everything else thinks it's inside a string as
well.
Removing the "sub" line works around this. Just commenting it out
doesn't help.
** Affects: emacs22 (Ubuntu)
Importance: Undecided
Status: New
------------------------------------------------------------------------