|
From: | Chong Yidong |
Subject: | bug#8261: Perl mode imenu index ignores my/our variables |
Date: | Sun, 08 May 2011 14:25:01 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Ralph Schleicher <rs@ralph-schleicher.de> writes: > in Perl mode the imenu index does not list variables declared via 'my' > and 'our'. Below is a patch together with a change log entry to fix it. > Please note that the regular expression is "\\(?:my\\|our\\))\\s-+" and > not "\\(?:\\(?:my\\|our\\))\\s-+\\)?" (optional match). Not declaring > global variables properly is generally considered bad Perl style. Committed; thanks.
[Prev in Thread] | Current Thread | [Next in Thread] |