Propertize only perl prototype chars `][$%&*;+@\' as punctuation
commita184a7edc58e1e053aa317a0f162df7e225597e1
authorEvgeni Kolev <evgenysw@gmail.com>
Mon, 27 Mar 2017 06:30:10 +0000 (27 09:30 +0300)
committerNoam Postavsky <npostavs@gmail.com>
Sat, 1 Apr 2017 21:32:18 +0000 (1 17:32 -0400)
treeeba0ab1b3f93daf19e5470eb6f1042d3d0256e41
parentf4ecb65f335e450dfa8f0ee8a496ac78cbbfdc51
Propertize only perl prototype chars `][$%&*;+@\' as punctuation

This prevents variables in signatures such as `sub add ($a, $b)' from
being treated as punctuation.
* lisp/progmodes/perl-mode.el (perl-syntax-propertize-function):
Strictly match only prototype characters as punctuation.  (Bug#26037)

Copyright-paperwork-exempt: yes
lisp/progmodes/perl-mode.el