freebsd-ports/devel/p5-Config-Objective/files/patch-grammar.yp
Aaron Dalton f39d5d211a - applied patch to remove several Perl warnings
PR: 89244
Submitted by: Jim Pirzyk
Approved by: tobez
2005-11-21 22:30:51 +00:00

10 lines
347 B
Text

--- ./grammar.yp.orig Tue Nov 15 14:09:30 2005
+++ ./grammar.yp Tue Nov 15 14:09:51 2005
@@ -251,6 +251,7 @@
### if a previous condition was true
return undef
if ($config->{'in_expr'}
+ && @{$config->{'cond_stack'}}
&& $config->{'cond_stack'}->[-1] == CS_NO_EVAL);
### for statements, don't evaluate if we're inside a