plug _another_ %; versus %N output formatting bug
(apparently, nobody noticed them because everyone outputted to files, not to strings, and this logic differs for those)
This commit is contained in:
parent
c995f7ca98
commit
14d8cecc82
4
tree.c
4
tree.c
@ -22,7 +22,7 @@
|
||||
|
||||
#include "sh.h"
|
||||
|
||||
__RCSID("$MirOS: src/bin/mksh/tree.c,v 1.33 2011/03/06 00:52:02 tg Exp $");
|
||||
__RCSID("$MirOS: src/bin/mksh/tree.c,v 1.34 2011/03/06 02:14:09 tg Exp $");
|
||||
|
||||
#define INDENT 4
|
||||
|
||||
@ -154,7 +154,7 @@ ptree(struct op *t, int indent, struct shf *shf)
|
||||
fptreef(shf, indent, "%;done ");
|
||||
break;
|
||||
case TBRACE:
|
||||
fptreef(shf, indent + INDENT, "{%;%T", t->left);
|
||||
fptreef(shf, indent + INDENT, "{%N%T", t->left);
|
||||
fptreef(shf, indent, "%;} ");
|
||||
break;
|
||||
case TCOPROC:
|
||||
|
Loading…
Reference in New Issue
Block a user