Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
parsing empty alternatives: case foo|) :;;
- X-seq: zsh-workers 41501
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: parsing empty alternatives: case foo|) :;;
- Date: Mon, 7 Aug 2017 13:55:59 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=61fYknT6UZXzDrWuObv2LzVnocrSb2YtC/7Nze8rV Tk=; b=kj3aG8J0YyJIqMXFrfHADg8P4Tq8vRXXeozHhcZ0Bsph6a9AmfNDa8uWE vobmagKvXSd0GxNZLueGzVE5H7WgWmR8HGXbQ8U4ch5F4MVJ36nCJ2TplvP9Y6ZO RTn2o/lF4UmuDIF2zoQNI2P1URiwD4I23uV0nVD394Je3sbVTyUkQGampmwoLEKh 5HC6cZZ3qVEq5WIf6QZcu/ox+0TV7HRaHAdkFADu6Jz2VHONREg7nvHoHZLbC0Nx s6rZvLceLalEd+8slESY/3Bb6/V3Bv20h+ArglR3yG2TbKvPDEnltw4hHHyqo6DG W0uqf3jYs4nTI7uKComL/qbzDi53Q==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=61fYknT6UZXzDrWuObv2LzVnocrSb2YtC/7Nze8rV Tk=; b=OGsw2SvBhwD39Z/NIT2csHjPc2LntL7eWoo9QElQCJ/HM8IZJT7REMzRl UqpTyqmWlOtWuSKy9nlvQcnWnHR2ceoljmAoj/xic10m+++LmnJZFWiI8HQNppP2 D8NbHdgd7FlzpP1GxXL09SfexnttgSaai10dLkxIbL2ISFQLSPx2p2Vnqgd/vNGl ctxbINmqtjROReLjrHlougjBGatBnuIM9pDlMPT7XVN3tlXIhMaFu6cGTtI+xJ28 XS+QI3/sFyFWBGSR2DvY6+AtZAZHn1F17dHK3khdOySsCf3gHGEw1JHA0Cg2l5cR 13qMan7dYhkv1JqhOpTnggfB7sqPA==
- 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
% 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