silence yyerrlab warning
This commit is contained in:
parent
2faae3ce69
commit
53e2a4c62e
2 changed files with 4 additions and 3 deletions
|
|
@ -217,7 +217,8 @@ yydefault:
|
||||||
fprint(2, "%s", yystatname(yystate));
|
fprint(2, "%s", yystatname(yystate));
|
||||||
fprint(2, "saw %s\n", yytokname(yychar));
|
fprint(2, "saw %s\n", yytokname(yychar));
|
||||||
}
|
}
|
||||||
yyerrlab:
|
goto yyerrlab;
|
||||||
|
yyerrlab:
|
||||||
yynerrs++;
|
yynerrs++;
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
|
|
|
||||||
|
|
@ -214,8 +214,8 @@ yydefault:
|
||||||
printf("%s", yystatname(yystate));
|
printf("%s", yystatname(yystate));
|
||||||
printf("saw %s\n", yytokname(yychar));
|
printf("saw %s\n", yytokname(yychar));
|
||||||
}
|
}
|
||||||
goto yyerrlab;
|
goto yyerrlab;
|
||||||
yyerrlab:
|
yyerrlab:
|
||||||
yynerrs++;
|
yynerrs++;
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue