summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-01-30 18:16:46 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-01-30 18:16:46 +0000
commitbeb1d8377ff12d07ffec259dd240db5014b9a6ee (patch)
treeb8598482f501668c30435167ac91b4a7ad9521db
parent075f80d8f191c18ad294701554376ee2aedfbe17 (diff)
downloaddrakx-beb1d8377ff12d07ffec259dd240db5014b9a6ee.tar
drakx-beb1d8377ff12d07ffec259dd240db5014b9a6ee.tar.gz
drakx-beb1d8377ff12d07ffec259dd240db5014b9a6ee.tar.bz2
drakx-beb1d8377ff12d07ffec259dd240db5014b9a6ee.tar.xz
drakx-beb1d8377ff12d07ffec259dd240db5014b9a6ee.zip
adapt to new etags (emacs 21) format
-rwxr-xr-xperl-install/perl2etags2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/perl2etags b/perl-install/perl2etags
index 7a15bf78c..6eed722c0 100755
--- a/perl-install/perl2etags
+++ b/perl-install/perl2etags
@@ -5,4 +5,4 @@ if (/^ / ... !/^ /) {
$package =~ s|/|::|g;
}
-s/(\x7F)sub\s+(\w+)(\([^)]*\))?/$1${package}::$2/;
+s/(\x7F)(sub\s+)?(\w+)(\([^)]*\))?/$1${package}::$3/;