Module Name:    src
Committed By:   christos
Date:           Mon Dec 13 16:54:04 UTC 2010

Modified Files:
        src/bin/sh: parser.c

Log Message:
PR/44229: Henning Petersen: Remove dup check for whitespace.


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/bin/sh/parser.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/sh/parser.c
diff -u src/bin/sh/parser.c:1.78 src/bin/sh/parser.c:1.79
--- src/bin/sh/parser.c:1.78	Wed Nov 17 08:40:48 2010
+++ src/bin/sh/parser.c	Mon Dec 13 11:54:04 2010
@@ -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;

Reply via email to