Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh -n does not detect incorrect associative array declaration
- X-seq: zsh-workers 38297
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Paul Wayper <paulway@xxxxxxxxxx>
- Subject: Re: zsh -n does not detect incorrect associative array declaration
- Date: Tue, 19 Apr 2016 15:50:34 +0200
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=UyO2UJS9tpS8MeuC3wXQpIgzluv9OG+6tsIDg/3p2N4=; b=WXLr3Ihqu0tsPyVR++u9AtOPVLPzIzTeE4sLcxE/fZTmF5bqxINIGp7DLjoaWDbg1f Hkx5NnbVI0lLItCCCsWuVWUiLGs53D9Ipxr1dDgYPBwRipAxSSMetgi9BL9mJHRldWV0 BhnWl55QRTwB2JiLcRioXu9tnqM/+I0Kphus6Iaw5m5IGHGp3dhN04ez+SnLlIJEz5dm i0jmO6FdvqMpIDj73e0eunc8T6Xq7NUph64rwThHZZb21xzH8cwsWYISfX++smIxSJ5y 1phny3PwsKysYfbUmVufoaflRhYv35ldtGj2ETn37HfPBzG1u2+FZpRwmGeTD7708kEf 8O9w==
- In-reply-to: <56F1C3D7.6020800@redhat.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <56F1C3D7.6020800@redhat.com>
Just a small tip: if you want to detect syntax errors in script you
can use zcompile. That's what I'm doing in zplugin, turning some
options on and off and checking if a plugin compiles correctly:
https://asciinema.org/a/9x2y2xvmpflkq5wzxeaegln12
This allows some non-zero degree of syntax correctness verification,
for given set of options.
Best regards,
Sebastian Gniazdowski
Messages sorted by:
Reverse Date,
Date,
Thread,
Author