diff options
author | Mauro Aranda <maurooaranda@gmail.com> | 2022-10-20 07:34:38 -0300 |
---|---|---|
committer | Mauro Aranda <maurooaranda@gmail.com> | 2022-10-20 07:34:38 -0300 |
commit | 7ee5b0f85f32dd6fd874a12a033798ac56ecbacc (patch) | |
tree | 0ecbdd7fdf72b7edd6c8dff38558c40c33d044aa /test/lisp/emacs-lisp/bytecomp-resources/warn-interactive-only.el | |
parent | 25cf39162e0a78406409842b96164c813eb8c337 (diff) | |
download | emacs-7ee5b0f85f32dd6fd874a12a033798ac56ecbacc.tar.gz emacs-7ee5b0f85f32dd6fd874a12a033798ac56ecbacc.tar.bz2 emacs-7ee5b0f85f32dd6fd874a12a033798ac56ecbacc.zip |
Improve HERE document detection in perl-mode
* lisp/progmodes/perl-mode.el (perl-syntax-propertize-function):
Detect indented HERE documents when using a bare identifier.
(perl--syntax-exp-intro-keywords): Recognize HERE documents that come
after die, warn and eval.
(perl--syntax-exp-intro-regexp): Identify HERE documents when printing
to a filehandle with printf? and when they appear after a fat comma.
* test/lisp/progmodes/cperl-mode-resources/here-docs.pl: Add more tests.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/warn-interactive-only.el')
0 files changed, 0 insertions, 0 deletions