summaryrefslogtreecommitdiff
path: root/perly.c
diff options
context:
space:
mode:
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;