summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-11 12:03:16 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-11 12:03:16 +0000
commit771df0940fe18ac10a1fb9f22390e99d0aa14d65 (patch)
treed91506431b630224266e162fa79c4723ea6918b6
parentc4968b8c1fd33346b57653dcfcc0f9a34387a828 (diff)
downloadperl-771df0940fe18ac10a1fb9f22390e99d0aa14d65.tar.gz
One more run_byacc (a hand-tweaked version had slipped in).
p4raw-id: //depot/perl@10510
-rw-r--r--perly.c8
-rw-r--r--vms/perly_c.vms4
2 files changed, 5 insertions, 7 deletions
diff --git a/perly.c b/perly.c
index 2b2a3f00f0..61a6fd32aa 100644
--- a/perly.c
+++ b/perly.c
@@ -1509,9 +1509,7 @@ yyloop:
if (yyerrflag > 0) --yyerrflag;
goto yyloop;
}
- if (
-((yyn = yyrindex[yystate])) &&
-(yyn += yychar) >= 0 &&
+ if ((yyn = yyrindex[yystate]) && (yyn += yychar) >= 0 &&
yyn <= YYTABLESIZE && yycheck[yyn] == yychar)
{
yyn = yytable[yyn];
@@ -1519,12 +1517,12 @@ yyloop:
}
if (yyerrflag) goto yyinrecovery;
#ifdef lint
- goto yynewerror;
+
#endif
yyerror("syntax error");
#ifdef lint
- goto yyerrlab;
+
#endif
++yynerrs;
diff --git a/vms/perly_c.vms b/vms/perly_c.vms
index 9528fa1a18..3c6b437b99 100644
--- a/vms/perly_c.vms
+++ b/vms/perly_c.vms
@@ -1519,12 +1519,12 @@ yyloop:
}
if (yyerrflag) goto yyinrecovery;
#ifdef lint
- goto yynewerror;
+
#endif
yyerror("syntax error");
#ifdef lint
- goto yyerrlab;
+
#endif
++yynerrs;