summaryrefslogtreecommitdiffstats
path: root/src/cmd/lex/header.c
diff options
context:
space:
mode:
authorwkj <devnull@localhost>2004-05-16 07:59:27 +0000
committerwkj <devnull@localhost>2004-05-16 07:59:27 +0000
commiteb43e9ba97471912f3338750198951ca4f5eec82 (patch)
treee6a6cf4182ae7e7c31cd67fc5c22e91f27d2dad5 /src/cmd/lex/header.c
parenta87f4771c76a15ef4dd422b1eb83fc9e1ffde036 (diff)
downloadplan9port-eb43e9ba97471912f3338750198951ca4f5eec82.tar.gz
plan9port-eb43e9ba97471912f3338750198951ca4f5eec82.zip
Make lex more pedant friendly.
Diffstat (limited to 'src/cmd/lex/header.c')
-rw-r--r--src/cmd/lex/header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/lex/header.c b/src/cmd/lex/header.c
index 8fa63d62..53345beb 100644
--- a/src/cmd/lex/header.c
+++ b/src/cmd/lex/header.c
@@ -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");
}