Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/sh PR/44229: Henning Petersen: Remove dup check for whit...
details: https://anonhg.NetBSD.org/src/rev/06d3685bbecb
branches: trunk
changeset: 759598:06d3685bbecb
user: christos <christos%NetBSD.org@localhost>
date: Mon Dec 13 16:54:04 2010 +0000
description:
PR/44229: Henning Petersen: Remove dup check for whitespace.
diffstat:
bin/sh/parser.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 934609327ce8 -r 06d3685bbecb bin/sh/parser.c
--- a/bin/sh/parser.c Mon Dec 13 16:52:53 2010 +0000
+++ b/bin/sh/parser.c Mon Dec 13 16:54:04 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: parser.c,v 1.78 2010/11/17 13:40:48 christos Exp $ */
+/* $NetBSD: parser.c,v 1.79 2010/12/13 16:54:04 christos Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)parser.c 8.7 (Berkeley) 5/16/95";
#else
-__RCSID("$NetBSD: parser.c,v 1.78 2010/11/17 13:40:48 christos Exp $");
+__RCSID("$NetBSD: parser.c,v 1.79 2010/12/13 16:54:04 christos Exp $");
#endif
#endif /* not lint */
@@ -814,8 +814,6 @@
startlinno = plinno;
for (;;) { /* until token or start of word found */
c = pgetc_macro();
- if (c == ' ' || c == '\t')
- continue; /* quick check for white space first */
switch (c) {
case ' ': case '\t':
continue;
Home |
Main Index |
Thread Index |
Old Index