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

Re: [PATCH] move zsh reserved words out of the way when invoked in sh/ksh emulation



On Apr 16,  9:32am, Peter Stephenson wrote:
} Subject: Re: [PATCH] move zsh reserved words out of the way when invoked i
}
} On Mon, 26 Mar 2018 00:23:07 +0200
} Martijn Dekker <martijn@xxxxxxxx> wrote:
} > 'float' and 'integer' are part of the typeset family, so the
} > underlying builtins would be exposed. It would then be inconsistent
} > not to do the same with the rest of the typeset family:
} > 
} > 	declare
} > 	export
} > 	local
} > 	readonly
} > 	typeset
} 
} This is when I got really confused when I first saw this patch.  This
} breaks the syntax supporting inline parentheses present in POSIX mode

This is fairly bad.  We made those into reserved words particularly for
this reason.

I would not support breaking this.



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