about summary refs log tree commit diff
path: root/Src/exec.c
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2015-06-20 19:59:11 +0100
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2015-06-20 19:59:11 +0100
commitb7b67d456e40183d952fa0c7793367ebbc6e320c (patch)
treea8da40c0d444dbcaf571507d8ddb86a1a8c21084 /Src/exec.c
parent2dcd766f6292963256d3b1c585e7dc07b14512c1 (diff)
downloadzsh-b7b67d456e40183d952fa0c7793367ebbc6e320c.tar.gz
zsh-b7b67d456e40183d952fa0c7793367ebbc6e320c.tar.xz
zsh-b7b67d456e40183d952fa0c7793367ebbc6e320c.zip
Fix remaining existing tests.
XTRACE output for builtins with assignment arguments added.
Note difference as the output is assignment-like too:
  'foo=<squggle><squiggle>bar'
now appears as
  foo='<squiggle><squiggle>bar'

Remove stupid "int htok" that stopped name part of scalar being expanded.

Rewrite KSH_TYPESET test to use old builtin interface where this applies.
Diffstat (limited to 'Src/exec.c')
-rw-r--r--Src/exec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Src/exec.c b/Src/exec.c
index 967f86e23..6066d5525 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -3488,7 +3488,6 @@ execcmd(Estate state, int input, int output, int how, int last1)
 			wordcode ac = *state->pc++;
 			char *name = ecgetstr(state, EC_DUPTOK, &htok);
 			Asgment asg;
-			int htok;
 			local_list1(svl);
 
 			DPUTS(wc_code(ac) != WC_ASSIGN,