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

parsing empty alternatives: case foo|) :;;



% case '' in (foo|) echo yes;; esac
yes
% case '' in foo|) echo yes;; esac                                                              
zsh: parse error near `)'

Why does the second case fail to parse?  We (IRC) don't see any ambiguity
in it.

(not a release blocker)

Cheers,

Daniel



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