Module Name: src Committed By: mlelstv Date: Thu Sep 26 11:01:09 UTC 2019
Modified Files: src/bin/ksh: eval.c lex.c Log Message: Fix FALLTHROUGH comments. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/bin/ksh/eval.c cvs rdiff -u -r1.23 -r1.24 src/bin/ksh/lex.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/bin/ksh/eval.c diff -u src/bin/ksh/eval.c:1.25 src/bin/ksh/eval.c:1.26 --- src/bin/ksh/eval.c:1.25 Tue Jun 12 14:13:55 2018 +++ src/bin/ksh/eval.c Thu Sep 26 11:01:09 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: eval.c,v 1.25 2018/06/12 14:13:55 kamil Exp $ */ +/* $NetBSD: eval.c,v 1.26 2019/09/26 11:01:09 mlelstv Exp $ */ /* * Expansion - quoting, separation, substitution, globbing @@ -6,7 +6,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: eval.c,v 1.25 2018/06/12 14:13:55 kamil Exp $"); +__RCSID("$NetBSD: eval.c,v 1.26 2019/09/26 11:01:09 mlelstv Exp $"); #endif #include <sys/stat.h> @@ -493,6 +493,7 @@ expand(cp, wp, f) case XARGSEP: type = XARG; quote = 1; + /* FALLTHROUGH */ case XARG: if ((c = *x.str++) == '\0') { /* force null words to be created so Index: src/bin/ksh/lex.c diff -u src/bin/ksh/lex.c:1.23 src/bin/ksh/lex.c:1.24 --- src/bin/ksh/lex.c:1.23 Tue May 8 16:37:59 2018 +++ src/bin/ksh/lex.c Thu Sep 26 11:01:09 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: lex.c,v 1.23 2018/05/08 16:37:59 kamil Exp $ */ +/* $NetBSD: lex.c,v 1.24 2019/09/26 11:01:09 mlelstv Exp $ */ /* * lexical analysis and source input @@ -6,7 +6,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: lex.c,v 1.23 2018/05/08 16:37:59 kamil Exp $"); +__RCSID("$NetBSD: lex.c,v 1.24 2019/09/26 11:01:09 mlelstv Exp $"); #endif @@ -254,7 +254,7 @@ yylex(cf) *wp++ = QCHAR, *wp++ = c; break; } - /* FALLTROUGH */ + /* FALLTHROUGH */ default: Xcheck(ws, wp); if (c) { /* trailing \ is lost */