]> git.donarmstrong.com Git - perltidy.git/commit
output file verbatim for certain lexical sub names
authorSteve Hancock <perltidy@users.sourceforge.net>
Thu, 16 Mar 2023 00:27:34 +0000 (17:27 -0700)
committerSteve Hancock <perltidy@users.sourceforge.net>
Thu, 16 Mar 2023 00:27:34 +0000 (17:27 -0700)
commit606930fb294b6fb636c323d654f7c5c324b6d7dd
tree55c655c4640ef6af0d19982ff8b2e38b115fee40
parent101d5b2b854e65a320309919d6f69ff387494a42
output file verbatim for certain lexical sub names

Lexical (my) subs which use the builtin names of certain quote-like
operators may cause problems in this version of perltidy.  For example
'my sub s {...}' may cause parsing errors. If something like this is
encountered, then formatting will not be attempted; the file will be
output verbatim.
lib/Perl/Tidy/Tokenizer.pm