summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1996-09-03 10:56:32 +0000
committerPeter Wemm <peter@FreeBSD.org>1996-09-03 10:56:32 +0000
commit80396a110a25daec7ec0a61a4d84e2f541a2501d (patch)
treef07492c3aee98a8953e5d2de27ddd546cb60c89f
parent1225e2435d8ff7eb472f3f7c3c0af3302233ea71 (diff)
Notes
-rw-r--r--usr.bin/yacc/skeleton.c2
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;",