]> git.donarmstrong.com Git - perltidy.git/commit
simplify diagnostics object
authorSteve Hancock <perltidy@users.sourceforge.net>
Wed, 22 Mar 2023 14:41:55 +0000 (07:41 -0700)
committerSteve Hancock <perltidy@users.sourceforge.net>
Wed, 22 Mar 2023 14:41:55 +0000 (07:41 -0700)
commitf258c7da5ceb978d03669fcb74753d42bf0444a4
tree402ab9d76e9937343a8f45b8db889aff5747e6c3
parenta8470de0918e3db737dbc9e1de4625534346fced
simplify diagnostics object

Previously, the diagnostics object made a call back to the tokenizer to get
the input line number. Now the line number arrives as an optional arg.
lib/Perl/Tidy/Diagnostics.pm
lib/Perl/Tidy/Formatter.pm
lib/Perl/Tidy/Tokenizer.pm