summaryrefslogtreecommitdiff
path: root/perly.c
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 /perly.c
parentc4968b8c1fd33346b57653dcfcc0f9a34387a828 (diff)
downloadperl-771df0940fe18ac10a1fb9f22390e99d0aa14d65.tar.gz
One more run_byacc (a hand-tweaked version had slipped in).
p4raw-id: //depot/perl@10510
Diffstat (limited to 'perly.c')
-rw-r--r--perly.c8
1 files changed, 3 insertions, 5 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;