summaryrefslogtreecommitdiffstats
path: root/bin/sh/parser.c
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1996-02-03 13:27:55 +0000
committerjoerg <joerg@FreeBSD.org>1996-02-03 13:27:55 +0000
commitaa3af1501b53b625f3ccabddc6a4cc7fd409b7fe (patch)
tree32ae361f1a2963e8e82aa2e47ec7b2a0e52cbc4c /bin/sh/parser.c
parentb79e54892f659bf8bba70aa90df4fb994199e6d1 (diff)
downloadFreeBSD-src-aa3af1501b53b625f3ccabddc6a4cc7fd409b7fe.zip
FreeBSD-src-aa3af1501b53b625f3ccabddc6a4cc7fd409b7fe.tar.gz
Fix the borokeness that crept in with rev 1.10 of parser.c, the sh
didn't correctly start background jobs anymore. Strange that nobody was complaining... Add a dummy target for `builtins' in the Makefile, to prevent it from attempting to build this file by compiling builtins.c. :-/
Diffstat (limited to 'bin/sh/parser.c')
-rw-r--r--bin/sh/parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sh/parser.c b/bin/sh/parser.c
index c8ea376..ef9c40c 100644
--- a/bin/sh/parser.c
+++ b/bin/sh/parser.c
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: parser.c,v 1.9 1995/08/28 19:24:35 joerg Exp $
+ * $Id: parser.c,v 1.10 1995/12/10 17:59:23 joerg Exp $
*/
#ifndef lint
@@ -149,12 +149,12 @@ list(nlflag) {
n1 = andor();
for (;;) {
switch (readtoken()) {
+ case TBACKGND:
case TNL:
parseheredoc();
if (nlflag)
return n1;
/* fall through */
- case TBACKGND:
case TSEMI:
checkkwd = 2;
if (tokendlist[peektoken()])
OpenPOWER on IntegriCloud