diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-19 19:35:26 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-19 19:35:26 +0000 |
commit | ac6487085024cb65b94d761add66835aac6b6a6e (patch) | |
tree | 84047ea78f419f4cce3a12deb03d0c501d570343 /Src/cond.c | |
parent | 8e939f069e4deeda1ad9d7611c494731259df811 (diff) | |
download | zsh-ac6487085024cb65b94d761add66835aac6b6a6e.tar.gz zsh-ac6487085024cb65b94d761add66835aac6b6a6e.tar.xz zsh-ac6487085024cb65b94d761add66835aac6b6a6e.zip |
zsh-workers/9792
Diffstat (limited to 'Src/cond.c')
-rw-r--r-- | Src/cond.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Src/cond.c b/Src/cond.c index 1df5b5617..b0c85e0a0 100644 --- a/Src/cond.c +++ b/Src/cond.c @@ -50,12 +50,12 @@ evalcond(Estate state) switch (ctype) { case COND_NOT: if (tracingcond) - fprintf(stderr, " %s", condstr[ctype]); + fprintf(xtrerr, " %s", condstr[ctype]); return !evalcond(state); case COND_AND: if (evalcond(state)) { if (tracingcond) - fprintf(stderr, " %s", condstr[ctype]); + fprintf(xtrerr, " %s", condstr[ctype]); return evalcond(state); } else { state->pc = pcode + (WC_COND_SKIP(code) + 1); @@ -64,7 +64,7 @@ evalcond(Estate state) case COND_OR: if (!evalcond(state)) { if (tracingcond) - fprintf(stderr, " %s", condstr[ctype]); + fprintf(xtrerr, " %s", condstr[ctype]); return evalcond(state); } else { state->pc = pcode + (WC_COND_SKIP(code) + 1); @@ -136,9 +136,9 @@ evalcond(Estate state) singsub(&rt); untokenize(rt); } - fprintf(stderr, " %s %s %s", left, condstr[ctype], rt); + fprintf(xtrerr, " %s %s %s", left, condstr[ctype], rt); } else - fprintf(stderr, " -%c %s", ctype, left); + fprintf(xtrerr, " -%c %s", ctype, left); } if (ctype >= COND_EQ && ctype <= COND_GE) { @@ -410,10 +410,10 @@ tracemodcond(char *name, char **args, int inf) for (aptr = args; *aptr; aptr++) untokenize(*aptr); if (inf) { - fprintf(stderr, " %s %s %s", args[0], name, args[1]); + fprintf(xtrerr, " %s %s %s", args[0], name, args[1]); } else { - fprintf(stderr, " %s", name); + fprintf(xtrerr, " %s", name); while (*args) - fprintf(stderr, " %s", *args++); + fprintf(xtrerr, " %s", *args++); } } |