perl-mode highlight breaks down on prototype
Bug #189873 reported by
Johan Walles
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
emacs22 (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
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.
To post a comment you must log in.
Is this symptom still reproducible in 8.10 or 9.04?