summaryrefslogtreecommitdiff
path: root/devel/p5-Config-Objective/files/patch-grammar.yp
diff options
context:
space:
mode:
authorAaron Dalton <aaron@FreeBSD.org>2005-11-21 22:30:51 +0000
committerAaron Dalton <aaron@FreeBSD.org>2005-11-21 22:30:51 +0000
commitf39d5d211a2bd30525013961fe25e3e272858446 (patch)
treec653f85f32c704f0f05b5b82582f4cbc8fd71251 /devel/p5-Config-Objective/files/patch-grammar.yp
parent- update port from v0.12 to v0.13 (diff)
- applied patch to remove several Perl warnings
PR: 89244 Submitted by: Jim Pirzyk Approved by: tobez
Notes
Notes: svn path=/head/; revision=148980
Diffstat (limited to 'devel/p5-Config-Objective/files/patch-grammar.yp')
-rw-r--r--devel/p5-Config-Objective/files/patch-grammar.yp10
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/p5-Config-Objective/files/patch-grammar.yp b/devel/p5-Config-Objective/files/patch-grammar.yp
new file mode 100644
index 000000000000..23a9a1061a60
--- /dev/null
+++ b/devel/p5-Config-Objective/files/patch-grammar.yp
@@ -0,0 +1,10 @@
+--- ./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