Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Re: Compsys and KSH_AUTOLOAD
- X-seq: zsh-workers 19800
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: PATCH: Re: Compsys and KSH_AUTOLOAD
- Date: Tue, 20 Apr 2004 12:08:38 +0200
- In-reply-to: <1040420041156.ZM12019@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <1040410174430.ZM10891@xxxxxxxxxxxxxxxxxxxxxxx> <1170.1081778412@athlon> <040412085942.ZM19035@xxxxxxxxxxxxxxxxxxxxxxx> <3571.1081806187@athlon> <1040413053826.ZM20012@xxxxxxxxxxxxxxxxxxxxxxx> <18035.1081870188@xxxxxxxxxxxxxxxxxxxxx> <1040413175111.ZM21011@xxxxxxxxxxxxxxxxxxxxxxx> <13987.1082134179@xxxxxxxxxxxxxxxxxxxxx> <1040416173016.ZM1145@xxxxxxxxxxxxxxxxxxxxxxx> <11049.1082231519@athlon> <1040419001434.ZM9151@xxxxxxxxxxxxxxxxxxxxxxx> <4175.1082369917@xxxxxxxxxxxxxxxxxxxxx> <1040420041156.ZM12019@xxxxxxxxxxxxxxxxxxxxxxx>
Bart wrote:
>
> } So I really don't see much harm in adding -m to declare's options.
> } Or do you disagree?
>
> No, I don't see any harm. I think that means you should reverse the
> sense of the test rather than remove the test, though.
Okay, this patch reverses the sense of the test.
Index: Test/B02typeset.ztst
===================================================================
RCS file: /cvsroot/zsh/zsh/Test/B02typeset.ztst,v
retrieving revision 1.5
diff -u -r1.5 B02typeset.ztst
--- Test/B02typeset.ztst 25 Sep 2003 09:50:25 -0000 1.5
+++ Test/B02typeset.ztst 20 Apr 2004 09:57:03 -0000
@@ -3,7 +3,7 @@
# everything that follows is processed by an "eval" within a function.
# Equivalences:
-# declare typeset but declare does not accept -m
+# declare typeset
# export typeset -x and typeset -x implies -g
# float typeset -E
# functions typeset -f
@@ -100,9 +100,9 @@
>local l o c a l
>scalar a r r a y
- declare +m
-1:Differences of declare and typeset
-?(eval):1: bad option: -m
+ declare +m scalar
+0:declare previously lacked -m/+m options
+>scalar
scope10
print $outer
Messages sorted by:
Reverse Date,
Date,
Thread,
Author