diff options
| -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 06af6fcb890f..d75bc071e1c0 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;", |
