From 80027c9e53ad4bd765e6d170f10ab2f6a68ef3a1 Mon Sep 17 00:00:00 2001 From: tg Date: Fri, 26 Feb 2016 17:58:30 +0000 Subject: [PATCH] legibility --- tree.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tree.c b/tree.c index 94e8ce1..db3bdd0 100644 --- a/tree.c +++ b/tree.c @@ -23,7 +23,7 @@ #include "sh.h" -__RCSID("$MirOS: src/bin/mksh/tree.c,v 1.81 2016/01/21 18:24:45 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/tree.c,v 1.82 2016/02/26 17:58:30 tg Exp $"); #define INDENT 8 @@ -817,7 +817,7 @@ dumpwdvar_i(struct shf *shf, const char *wp, int quotelevel) return (--wp); case ADELIM: if (*wp == /*{*/'}') { - shf_puts("]ADELIM(})", shf); + shf_puts(/*{*/ "]ADELIM(})", shf); return (wp + 1); } shf_puts("ADELIM=", shf); @@ -852,10 +852,10 @@ dumpwdvar_i(struct shf *shf, const char *wp, int quotelevel) shf_puts("EXPRSUB<", shf); goto dumpsub; case OQUOTE: - shf_fprintf(shf, "OQUOTE{%d", ++quotelevel); + shf_fprintf(shf, "OQUOTE{%d" /*}*/, ++quotelevel); break; case CQUOTE: - shf_fprintf(shf, "%d}CQUOTE", quotelevel); + shf_fprintf(shf, /*{*/ "%d}CQUOTE", quotelevel); if (quotelevel) quotelevel--; else