Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: here document within a switch fails to parse.
> On Jan 6, 2021, at 12:17 PM, Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
>> On 2021-01-06 8:20 a.m., Daniel Shahaf wrote:
>>
>> The «;;» token must be followed by a pattern, but in your code, it is
>> followed by a command («:»)
> Ok, so at least this is understood. Still I'd expect the here document to be simply removed before parsing.
A. Why? Here-documents are not comments, despite your best efforts to abuse them for that role.
B. Daniel already demonstrated that your issue has nothing to do with the here-document, but with the presence of the ':' command in an invalid location.
vq
Sent from my iPhone
Messages sorted by:
Reverse Date,
Date,
Thread,
Author