From e93daee5f45ccc242b4caa801467db5813586e96 Mon Sep 17 00:00:00 2001 From: tg Date: Sun, 6 Mar 2011 00:52:02 +0000 Subject: [PATCH] =?UTF-8?q?dump=20TCASE=20as=20"case=20$foo=20in=20(1)=20b?= =?UTF-8?q?lah=20;;=20esac"=20not=20"=E2=80=A6=20(1);=20blah=20=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tree.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tree.c b/tree.c index 56698b4..91ac06c 100644 --- a/tree.c +++ b/tree.c @@ -1,7 +1,7 @@ /* $OpenBSD: tree.c,v 1.19 2008/08/11 21:50:35 jaredy Exp $ */ /*- - * Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 + * Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 * Thorsten Glaser * * Provided that these terms and disclaimer and all copyright notices @@ -22,7 +22,7 @@ #include "sh.h" -__RCSID("$MirOS: src/bin/mksh/tree.c,v 1.32 2010/09/14 21:26:19 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/tree.c,v 1.33 2011/03/06 00:52:02 tg Exp $"); #define INDENT 4 @@ -115,7 +115,7 @@ ptree(struct op *t, int indent, struct shf *shf) for (w = (const char **)t1->vars; *w != NULL; w++) fptreef(shf, indent, "%S%c", *w, (w[1] != NULL) ? '|' : ')'); - fptreef(shf, indent + INDENT, "%;%T%N;;", t1->left); + fptreef(shf, indent + INDENT, "%N%T%N;;", t1->left); } fptreef(shf, indent, "%Nesac "); break;