Make lex more pedant friendly.
This commit is contained in:
parent
a87f4771c7
commit
eb43e9ba97
3 changed files with 5 additions and 2 deletions
|
|
@ -85,7 +85,7 @@ void
|
|||
phead2(void)
|
||||
{
|
||||
Bprint(&fout,"while((nstr = yylook()) >= 0)\n");
|
||||
Bprint(&fout,"yyfussy: switch(nstr){\n");
|
||||
Bprint(&fout,"goto yyfussy;\nyyfussy: switch(nstr){\n");
|
||||
Bprint(&fout,"case 0:\n");
|
||||
Bprint(&fout,"if(yywrap()) return(0); break;\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue