plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 53e2a4c62e0662d3b72bd0f8807f7b2459684ae1
parent 2faae3ce69586f60a3a764e58d2d804801ed4890
Author: rsc <devnull@localhost>
Date:   Thu, 17 Feb 2005 14:21:08 +0000

silence yyerrlab warning

Diffstat:
Mlib/yaccpar | 3++-
Mlib/yaccpars | 4++--
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/lib/yaccpar b/lib/yaccpar @@ -217,7 +217,8 @@ yydefault: fprint(2, "%s", yystatname(yystate)); fprint(2, "saw %s\n", yytokname(yychar)); } -yyerrlab: + goto yyerrlab; + yyerrlab: yynerrs++; case 1: diff --git a/lib/yaccpars b/lib/yaccpars @@ -214,8 +214,8 @@ yydefault: printf("%s", yystatname(yystate)); printf("saw %s\n", yytokname(yychar)); } - goto yyerrlab; -yyerrlab: + goto yyerrlab; + yyerrlab: yynerrs++; case 1: