summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2006-12-19 02:25:19 +0000
committerDave Mitchell <davem@fdisolutions.com>2006-12-19 02:25:19 +0000
commit2d29f438a90c25ad972d2cbbc131c54da2b0d8ba (patch)
tree4a728ec0d11fa7547b2e981ec127fd4c3e5d45cc
parent801de10ef663bd7b3ee68821109e12178694162c (diff)
downloadperl-2d29f438a90c25ad972d2cbbc131c54da2b0d8ba.tar.gz
make -Dpv print 8 parser stack items, not 9
p4raw-id: //depot/perl@29589
-rw-r--r--perly.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perly.c b/perly.c
index ad01d38b6b..d5b243b6c6 100644
--- a/perly.c
+++ b/perly.c
@@ -106,7 +106,7 @@ yy_stack_print (pTHX_ const yy_parser *parser)
{
const yy_stack_frame *ps, *min;
- min = parser->ps - 8;
+ min = parser->ps - 8 + 1;
if (min <= &parser->stack[0])
min = &parser->stack[0] + 1;