]> git.eshelyaron.com Git - emacs.git/commit
cperl-mode: Highlight '{$a++ / $b}' correctly
authorHarald Jörg <haj@posteo.de>
Fri, 14 Aug 2020 08:01:30 +0000 (10:01 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Fri, 14 Aug 2020 09:03:47 +0000 (11:03 +0200)
commitf3ff51288fa0370a9ea33312b188565e4f2b595e
treec7779a20c6d805b717c0c469128dbcb12b11eefb
parent32cb84974faac7cecdd82e154f7cae9ac0ee8320
cperl-mode: Highlight '{$a++ / $b}' correctly

* lisp/progmodes/cperl-mode.el (cperl-find-pods-heres):
Recognize {$a++ / $b} correctly as division.  (Bug#42168)
* test/lisp/progmodes/cperl-mode-tests.el: New file with test
verifying the fix.
lisp/progmodes/cperl-mode.el
test/lisp/progmodes/cperl-mode-tests.el [new file with mode: 0644]