diff options
author | peter <peter@FreeBSD.org> | 1996-09-03 10:56:32 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-09-03 10:56:32 +0000 |
commit | 90c8dabe7588131ee6be60c91c7778b0372d1154 (patch) | |
tree | f07492c3aee98a8953e5d2de27ddd546cb60c89f /usr.bin/yacc | |
parent | bbb6994e507486b942d268c5f28330727a4d2e49 (diff) | |
download | FreeBSD-src-90c8dabe7588131ee6be60c91c7778b0372d1154.zip FreeBSD-src-90c8dabe7588131ee6be60c91c7778b0372d1154.tar.gz |
Fix -Wall warning in skeleton parser
Diffstat (limited to 'usr.bin/yacc')
-rw-r--r-- | usr.bin/yacc/skeleton.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/yacc/skeleton.c b/usr.bin/yacc/skeleton.c index 06af6fc..d75bc07 100644 --- a/usr.bin/yacc/skeleton.c +++ b/usr.bin/yacc/skeleton.c @@ -156,7 +156,7 @@ char *body[] = " *yyssp = yystate = 0;", "", "yyloop:", - " if (yyn = yydefred[yystate]) goto yyreduce;", + " if ((yyn = yydefred[yystate])) goto yyreduce;", " if (yychar < 0)", " {", " if ((yychar = yylex()) < 0) yychar = 0;", |