ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Perl-Strip/Strip.pm
(Generate patch)

Comparing Perl-Strip/Strip.pm (file contents):
Revision 1.4 by root, Thu Aug 3 03:05:56 2023 UTC vs.
Revision 1.5 by root, Thu Aug 3 03:06:08 2023 UTC

146 || $next->isa (PPI::Structure::Block::) 146 || $next->isa (PPI::Structure::Block::)
147 || $next->isa (PPI::Structure::List::) 147 || $next->isa (PPI::Structure::List::)
148 || $next->isa (PPI::Structure::Condition::))) 148 || $next->isa (PPI::Structure::Condition::)))
149 ) 149 )
150 ) { 150 ) {
151 # perl has some idiotic warnigns about nonexisting operators 151 # perl has some idiotic warnings about nonexisting operators
152 if ($prev->isa (PPI::Token::Operator::) && $prev->{content} eq "=" 152 if ($prev->isa (PPI::Token::Operator::) && $prev->{content} eq "="
153 && $next->isa (PPI::Token::Operator::) && $next->{content} =~ /[+\-]/ 153 && $next->isa (PPI::Token::Operator::) && $next->{content} =~ /[+\-]/
154 ) { 154 ) {
155 # avoid "Reverse %s operator" diagnostic 155 # avoid "Reverse %s operator" diagnostic
156 } else { 156 } else {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines