summaryrefslogtreecommitdiff
path: root/test/indent
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2014-09-21 18:00:28 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2014-09-21 18:00:28 -0400
commit40aef3780404fa6ecfd97f9d0c9abc4bcf99c5f8 (patch)
tree2b5e5cfe9b90c68e8a81cff8f1100c1fbe200eaf /test/indent
parent057ba717037b491d2c18f82268fc89edaa060fe3 (diff)
downloademacs-40aef3780404fa6ecfd97f9d0c9abc4bcf99c5f8.tar.gz
* lisp/progmodes/perl-mode.el (perl-syntax-propertize-function):
Accept underscores in identifiers after "sub". Fixes: debbugs:18502
Diffstat (limited to 'test/indent')
-rwxr-xr-xtest/indent/perl.perl4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/indent/perl.perl b/test/indent/perl.perl
index 6b05a5f1d07..00ef312f735 100755
--- a/test/indent/perl.perl
+++ b/test/indent/perl.perl
@@ -1,6 +1,10 @@
#!/usr/bin/perl
# -*- eval: (bug-reference-mode 1) -*-
+sub add_funds($) {
+ return 0;
+}
+
use v5.14;
my $str= <<END;