opnsense-ports/devel/p5-Config-Objective/files/patch-grammar.yp
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01: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