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

Re: [PATCH 2/3] jp: Use `(nil)` for empty identifier strings



On Sun, Jan 14, 2018 at 7:23 AM, Joey Pabalinas <joeypabalinas@xxxxxxxxx> wrote:
> Indicate the presence of an empty identifier string using `(nil)`; the
> empty string case should still provide a somewhat useful error message using:
>
>> zsh:1: not an identifier: (nil)
>
> rather than:
>
>> zsh:1: not an identifier:
>
> which is fairly confusing and sort of useless.

We use "(nil)" literally nowhere else.  This needs some discussion,
especially before any effort is put into changing any of the
zerr*/zwarn* functions.



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