summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2006-07-11 15:36:37 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2006-07-11 15:36:37 +0000
commit0a22eb0e0c76892ff0397996f451e9bf78dd3d02 (patch)
treede3f0518d47f18071ce95735736b3036010a49d5 /Src
parent4a67f2479892fda348546404216270aaaff523ea (diff)
downloadzsh-0a22eb0e0c76892ff0397996f451e9bf78dd3d02.tar.gz
zsh-0a22eb0e0c76892ff0397996f451e9bf78dd3d02.tar.xz
zsh-0a22eb0e0c76892ff0397996f451e9bf78dd3d02.zip
22546: fix {myfd}>... bug and tweak tests
Diffstat (limited to 'Src')
-rw-r--r--Src/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/parse.c b/Src/parse.c
index 17a24f2e9..7063599b4 100644
--- a/Src/parse.c
+++ b/Src/parse.c
@@ -1603,7 +1603,7 @@ par_simple(int *complex, int nr)
 
 		if (*ptr == Outbrace && ptr > tokstr + 1)
 		{
-		    if (itype_end(tokstr, IIDENT, 0) >= ptr - 1)
+		    if (itype_end(tokstr+1, IIDENT, 0) >= ptr - 1)
 		    {
 			char *toksave = tokstr;
 			char *idstring = dupstrpfx(tokstr+1, eptr-tokstr-1);