Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: Fix some more missing locals for $match



On 02/05/2012, Peter Stephenson <Peter.Stephenson@xxxxxxx> wrote:
> On Wed, 2 May 2012 12:48:12 +0200
> Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
>> +local -a match
>
> Ideally, these should always be
>
> local -a match mbegin mend
>
> because all three are set, even though the other two aren't used
> anything like as much.

Ah, forgot about those, will include in the commit. I guess I can as
well check that all places that local match also local those. And
tabcompletion just reminded me of MBEGIN/MATCH/MEND too, but that's
probably my rc.

-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author