Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
lexer issue
- X-seq: zsh-workers 42542
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Zsh workers <zsh-workers@xxxxxxx>
- Subject: lexer issue
- Date: Tue, 27 Mar 2018 13:05:38 +0200
- Authentication-results: amavisd4.gkg.net (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.co.uk
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1522149344; bh=mQO7nvN+L/i/R1jWIANDZmamjq66cYLxAf8+CEh9wLw=; h=From:To:Subject:Date:From:Subject; b=s2mihTEJycKfuh1M+A/J/zUMRXzOPxMXrNIKfHCpgN8BlCchNJH9Opsbf4Uqeerv1ovtVSMA4i1XowTTv/qMxiJBYB13is3InC9Da1E0CwUOfB/ncFAcymIeEuRLWdtSIGuFRQ87ahIHcOEKbstx9UIyRfzckh98Njkp0Xe6GOEIWYB3EJVM0H8MgM7PQbgKeWrjc3LJXJq+m8/3yXljYq17vjDnmbzXlPf/P0BdASfkjEVTk//Z6DWipsLDADBXYOFK5qD5kLRGNIvuksi1Th3lumuCYZQo1F0ikBL7LfSh5IjTbJHnFtkHvaqoWSjnqmxaf58rLVMn8K1xTJ3duw==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Does anyone know what may be causing this:
echo $(( ((##h << 8) + ##e) << 8)+<SPACE>
→ echo $(( ((##h << 8) +
This is with space bound to magic-space.
Also notable is that if you press <ENTER> there are TWO error messages:
zsh: parse error near `+'
zsh: parse error near `$(( ((##h << 8) + ##...'
I've not had much success in trying to understand this. The magic-space
expansion takes place in doexpandhist() but I think it has something
more to do with the errflag values and the parser, neither of which I
have much understanding of.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author